Bug 39157

Summary: uninstalling the last app shows pop up "Forbidden"
Product: UCS Reporter: Florian Best <best>
Component: UMC - App-CenterAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Dirk Wiesenthal <wiesenthal>
Severity: normal    
Priority: P5 CC: botner, gohmann, walkenhorst
Version: UCS 4.0   
Target Milestone: UCS 4.1-0-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Error handling
Max CVSS v3 score:

Description Florian Best univentionstaff 2015-08-12 16:31:05 CEST
If there is only 1 (!) app installed and one opens the app via the app icon on the overview (not via the appcenter module!) and one uninstalls the app one the uninstallation will succeed but always display a pop up message with "Forbidden" after the uninstallation.
The command which is done at the end of the installation is "apps/get" which is forbidden because the UCR template of the XML-<module> metadata contains "deactivated=True" if there is no flavor/app installed.
Comment 1 Florian Best univentionstaff 2015-12-17 14:22:14 CET
Fixed.
Adding 1 default flavor without category (so that it is not shown on the overview) will cause that the request is allowed. One drawback: After uninstallation no category on the ucs-overview is selected so that it's empty but that's a bug in the UMC frontend and imho not so important.
Comment 2 Dirk Wiesenthal univentionstaff 2016-01-20 16:20:26 CET
Changeset: OK
YAML: OK
VERIFIED
Comment 3 Janek Walkenhorst univentionstaff 2016-02-04 14:10:17 CET
<http://errata.software-univention.de/ucs/4.1/79.html>