Univention Bugzilla – Bug 31737
never ever show installation button if app is already installed
Last modified: 2013-11-19 06:44:09 CET
Installed an app without key id license (app appliance). After system-setup-boot i open the UMC app center and my app is installed (green checkmark). But when i open the app, there is a button for the installation? Maybe this has something to do with the missing key id, but if an app is installed, we should never display the installation button.
AFAIK, the installation status is checked via the installed packages and probably the buttons are displayed according to the installed repository components.
(In reply to Alexander Kläser from comment #1) > AFAIK, the installation status is checked via the installed packages and > probably the buttons are displayed according to the installed repository > components. The green checkmark shows that the app is identified as installed. The problem is that it was not allowed to be installed and the (frontend of the) App Center does not handle this case. The following lines in AppCenterPage.js are responsible for this bug: if (!app.allows_using && this._udm_accessible) { var label = app.can_update ? _('Upgrade') : _('Install'); ... One would have to extend the first line.
(In reply to Felix Botner from comment #0) > Maybe this has something to do with the missing key id, but if an app is > installed, we should never display the installation button. Just to make clear: Yes this is because the Key ID is missing. The correct label would be "Request" or something like that. But we relabel that button to Install or Upgrade...
Fixed since univention-management-console-module-appcenter (3.0.21-1) "Install" is shown if (and only if) !app.is_installed
fix: OK in no case the installation button is showed if the app is already installed Changelog OK
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".