Bug 41023 - Old App Center code evaluates installation status of Docker Apps incorrectly
Old App Center code evaluates installation status of Docker Apps incorrectly
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P1 normal (vote)
: UCS 4.1-0-errata
Assigned To: Dirk Wiesenthal
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-08 12:23 CEST by Dirk Wiesenthal
Modified: 2016-04-13 14:52 CEST (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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2016-04-08 12:23:51 CEST
Backport to 4.1-0

+++ This bug was initially created as a clone of Bug #41009 +++

Old App Center code only goes over the DefaultPackages. This will always return True for Docker Apps like Jenkins and never for Docker Apps like OpenProject.

This is a problem in _set_ucr_codes_variable. When installing a Non-Docker App (via old code), at the end Jenkins will be marked as installed in
  repository/app_center/installed
Comment 1 Dirk Wiesenthal univentionstaff 2016-04-08 13:11:24 CEST
Fixed in
  univention-appcenter 5.0.19-56.150.201604081309
Comment 2 Stefan Gohmann univentionstaff 2016-04-11 07:54:47 CEST
Please check the version number in postinst:

+if dpkg --compare-versions "$2" lt-nl 5.0.20-37; then
+	univention-app register --noninteractive --files
+fi
Comment 3 Dirk Wiesenthal univentionstaff 2016-04-12 00:02:28 CEST
Yes, fixed
Comment 4 Stefan Gohmann univentionstaff 2016-04-12 09:11:59 CEST
(In reply to Dirk Wiesenthal from comment #3)
> Yes, fixed

OK
Comment 5 Janek Walkenhorst univentionstaff 2016-04-13 14:52:07 CEST
<http://errata.software-univention.de/ucs/4.1/145.html>