Bug 38042

Summary: Prevent installation of apps until a certain UCS version is met
Product: UCS Reporter: Dirk Wiesenthal <wiesenthal>
Component: App CenterAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: best, gohmann, walkenhorst
Version: UCS 4.0   
Target Milestone: UCS 4.0-1-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:
Attachments: Check version (broken patch)

Description Dirk Wiesenthal univentionstaff 2015-03-13 17:26:46 CET
We need something like:

UCSVersion=4.0-1 errata50

Sometimes we release features that apps use, or copy packages to maintained in a patch level release that apps need.
Comment 1 Dirk Wiesenthal univentionstaff 2015-03-13 17:27:54 CET
The sooner we have this, the better. Although this feature also suffers from this very bug...
Comment 2 Dirk Wiesenthal univentionstaff 2015-04-14 11:17:36 CEST
Created attachment 6821 [details]
Check version (broken patch)

This should check the current version:

RequiredUCSVersion=4.0-2
or
RequiredUCSVersion=4.0-1 errata80
Comment 3 Dirk Wiesenthal univentionstaff 2015-05-05 15:27:57 CEST
Fixed in
  univention-management-console-module-appcenter 4.1.20-21.342.201505051512

May also be backported to UCS 4.0-0
Comment 4 Florian Best univentionstaff 2015-05-06 13:52:37 CEST
With evil svn r60470 the changes work great!
YAML: OK
Comment 5 Florian Best univentionstaff 2015-05-06 13:56:32 CEST
Just for the record: The ini variable RequiredUCSVersion must match the regex completely. No trailing whitespace, errata123 instead of "errata-123" or "errata 123".
Comment 6 Janek Walkenhorst univentionstaff 2015-05-07 17:43:48 CEST
<http://errata.univention.de/ucs/4.0/189.html>