Bug 36472

Summary: python-notifier: timer handling is broken in nf_qt.py
Product: UCS Reporter: Sönke Schwardt-Krummrich <schwardt>
Component: GeneralAssignee: Sönke Schwardt-Krummrich <schwardt>
Status: CLOSED FIXED QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5 CC: best, gohmann, walkenhorst
Version: UCS 3.2   
Target Milestone: UCS 3.2-3-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=37378
https://forge.univention.org/bugzilla/show_bug.cgi?id=37937
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:

Description Sönke Schwardt-Krummrich univentionstaff 2014-11-06 10:40:57 CET
The timers in the qt notifier backend are broken. The callbacks of the timers are never called.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-11-06 12:29:44 CET
The qt backend of python-notifier did not pass a parent object to the QTimer objects. Thus the qt main loop never processed any timer event. This broke the UCS@school computerroom module:
- it did not shut down after module timeout
- it did not shut down after EXIT command

Added 2014-11-06-python-notifier.yaml

The patch has also been ported to UCS 4.0.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2014-11-06 12:30:19 CET
The patch has been sent upstream today.
Comment 3 Stefan Gohmann univentionstaff 2014-11-06 14:48:24 CET
YAML: OK

Reproduction: OK

Code: OK

Tests: OK

4.0 merge: OK

UMC ucs-test: OK
Comment 4 Janek Walkenhorst univentionstaff 2014-11-07 15:39:27 CET
http://errata.univention.de/ucs/3.2/241.html