Bug 43901 - RequiredUCSVersion check does not compare correctly
RequiredUCSVersion check does not compare correctly
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Dirk Wiesenthal
Stefan Gohmann
: interim-4
: 41846 (view as bug list)
Depends on:
Blocks: 43843
  Show dependency treegraph
Reported: 2017-03-16 11:42 CET by Erik Damrose
Modified: 2017-04-04 18:28 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
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:

09_install_app-RequiredUCSVersion (990 bytes, text/plain)
2017-03-22 15:44 CET, Stefan Gohmann

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2017-03-16 11:42:04 CET
UCS 4.2-0 errata0 slave; i am trying to install kopano-core from the test app center. As the app was copied, so was the ini setting RequiredUCSVersion = 4.1-3. The App installation fails with Cannot install kopano-core: {'must_have_fitting_ucs_version': {'required_version': '4.1-3'}}

I have now removed the required ucs version from the app to resume testing
Comment 1 Dirk Wiesenthal univentionstaff 2017-03-22 13:49:02 CET
*** Bug 41846 has been marked as a duplicate of this bug. ***
Comment 2 Dirk Wiesenthal univentionstaff 2017-03-22 14:05:28 CET
Fixed in
  univention-appcenter 6.0.3-21A~
Comment 3 Stefan Gohmann univentionstaff 2017-03-22 15:43:36 CET
OK, it works again. I'm able to install for example xrdp.

And attached you find a simple test script to play with different values.

Changelog: OK
Comment 4 Stefan Gohmann univentionstaff 2017-03-22 15:44:08 CET
Created attachment 8614 [details]
Comment 5 Dirk Wiesenthal univentionstaff 2017-03-23 12:40:37 CET
One more fix in r78184
Comment 6 Erik Damrose univentionstaff 2017-03-23 12:42:35 CET
(In reply to Dirk Wiesenthal from comment #5)
> One more fix in r78184

The issue was, that apps _without_ a required ucs version (e.g. mailserver) could not be installed anymore, a traceback was shown.
Comment 7 Stefan Gohmann univentionstaff 2017-03-23 16:10:53 CET
OK, works
Comment 8 Stefan Gohmann univentionstaff 2017-04-04 18:28:55 CEST
UCS 4.2 has been released:

If this error occurs again, please use "Clone This Bug".