Bug 39157 - uninstalling the last app shows pop up "Forbidden"
uninstalling the last app shows pop up "Forbidden"
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Florian Best
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-12 16:31 CEST by Florian Best
Modified: 2016-02-04 14:10 CET (History)
3 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>