Bug 41866

Summary: UMC Software Update shows valid release update as the invalid one
Product: UCS Reporter: Dirk Wiesenthal <wiesenthal>
Component: Update - univention-updaterAssignee: UCS maintainers <ucs-maintainers>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: gohmann, grandjean, gulden, requate, thorp-hansen
Version: UCS 3.2   
Target Milestone: ---   
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:
Bug Depends on: 40458    
Bug Blocks:    

Description Dirk Wiesenthal univentionstaff 2016-07-28 01:12:24 CEST
May need backport to 3.2?

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

UCS 3.2-7 wants to update. Existing release updates: UCS 3.2-8, 4.0-x, 4.1-0

UCS 3.2-7 has an outdated version of an App installed that was released for UCS 4.0, but not for UCS 4.1.

Expected result: UCS 3.2-8, 4.0-x is available, UCS 4.1-0 is not.
Actual result: Like expected but there is a sentence that says: "3.2-8 is available, but your App [...] is not yet released for it and therefore 3.2-8 may not be installed. Please remove the App"

3.2-8 is actually available in the list, but the sentence is super confusing, as 4.0-4 is preselected. You need to know that despite the sentence 3.2-8 is available AND you need to be brave enough to install 3.2-8 although the system says it is impossible. Currently happens for OX App Suite.

The problem is:
try:
	result['release_update_available'] = self.uu.release_update_available(errorsto='exception')
except RequiredComponentError as exc:
	result['release_update_available'] = exc.version

Here, exc.version is 3.2-8, not 4.1-0. So this is a bug in the underlying lib. I think the code in UMC is correct.
Comment 1 Stefan Gohmann univentionstaff 2016-10-04 14:02:48 CEST
(In reply to Dirk Wiesenthal from comment #0)
> May need backport to 3.2?

No, I don't think we need one. Otherwise, please re-open.