Bug 41023

Summary: Old App Center code evaluates installation status of Docker Apps incorrectly
Product: UCS Reporter: Dirk Wiesenthal <wiesenthal>
Component: App CenterAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P1 CC: gohmann, gulden, walkenhorst
Version: UCS 4.1   
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):
Max CVSS v3 score:

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>