Bug 47207 - univention-app install $app chooses impossible Apps
univention-app install $app chooses impossible Apps
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-4-errata
Assigned To: Dirk Wiesenthal
Felix Botner
:
Depends on: 47187
Blocks: 47407
  Show dependency treegraph
 
Reported: 2018-06-19 14:31 CEST by Dirk Wiesenthal
Modified: 2018-07-27 12:18 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?: Yes
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 2018-06-19 14:31:41 CEST
+++ This bug was initially created as a clone of Bug #47187 +++

When using
  univention-app install ucsschool
it may be that the version chosen by the command line parser cannot be installed. The installation routine realizes this and aborts the installation.

Yet, this may be regarded as a usability issue because an "impossible" version was chosen in the first place.

In fact, it stops us from releasing the 4.3 Docker Apps to UCS 4.2 because the command line would then find 4.3/ucsschool.

We could filter those App versions. The CLI should probably still allow any App to be found (and eventually be rejected), but the "default App" should not be one from another UCS version.

On a side note, on a UCS 4.2, this works around the issue:
  univention-app install 4.2/ucsschool

The point of this bug is that this workaround should not be necessary.

Note that the UMC module is not affected.
Comment 1 Dirk Wiesenthal univentionstaff 2018-06-19 14:39:38 CEST
Fixed in
  6.0.11-17A~4.2.0.201806191433

univention-app install ucsschool
  now only considers 4.2

Note that it will be released for 4.2-4, 4.2-3
Comment 2 Felix Botner univentionstaff 2018-06-19 16:18:55 CEST
tested on 4.2 with .ucs.ini:
[4.2]
SupportedUCSVersions=4.2, 4.3, 4.1

[4.3]
SupportedUCSVersions=4.3, 4.2, 4.1

OK - install 4.3 apps with SupportedUCSVersions=*4.2-0,
OK - upgrade -"-
OK - no install of 4.3 apps without SupportedUCSVersions=*4.2-0,
OK - YAML
Comment 3 Arvid Requate univentionstaff 2018-06-20 13:54:19 CEST
<http://errata.software-univention.de/ucs/4.2/421.html>