Bug 44080

Summary: End of life warning -> javascript error if no yaml file could be found
Product: UCS Reporter: Jürn Brodersen <brodersen>
Component: UMC - Software updateAssignee: Jannik Ahlers <ahlers>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: best, damrose, gohmann, klaeser
Version: UCS 4.1   
Target Milestone: UCS 4.2-3-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=43026
What kind of report is it?: Bug Report What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.034 Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Usability
Max CVSS v3 score:

Description Jürn Brodersen univentionstaff 2017-03-27 10:35:56 CEST
End of life warning -> javascript error if no yaml file could be found

base/univention-updater/umc/python/updater/__init__.py::query_maintenance_information()

should return something like {"show_warning": False} in case no yaml could be found.

How to reproduce:
Either change your ucs version to something 4.1.99 or add a /etc/hosts entry for updates.software-univention.de.
Comment 1 Jannik Ahlers univentionstaff 2017-11-22 16:16:22 CET

*** This bug has been marked as a duplicate of bug 44824 ***
Comment 2 Florian Best univentionstaff 2017-11-22 16:44:54 CET
This is not a duplicate of Bug #44824. The error still persists.
Comment 3 Jannik Ahlers univentionstaff 2017-11-23 12:08:44 CET
Fixed in branch jahlers/44080-js-err-if-no-yaml
Comment 4 Florian Best univentionstaff 2017-11-29 15:30:41 CET
You can merge the changes. Please adjust the description in the YAML to something like the following:
An javascript error is prevented if receiving the maintenance status information is not possible.
Comment 5 Florian Best univentionstaff 2017-11-30 14:43:58 CET
OK: no javascript error occurs anymore.
OK: YAML
Comment 6 Arvid Requate univentionstaff 2017-12-07 16:34:37 CET
<http://errata.software-univention.de/ucs/4.2/243.html>