Bug 40791

Summary: Problem mit Schaltjahr
Product: UCS Reporter: Stefan Gohmann <gohmann>
Component: UMC (Generic)Assignee: Stefan Gohmann <gohmann>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: critical    
Priority: P5 CC: walkenhorst
Version: UCS 4.0   
Target Milestone: UCS 4.0-4-errata   
Hardware: amd64   
OS: All   
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: 40790, 40914    
Bug Blocks:    

Description Stefan Gohmann univentionstaff 2016-02-29 08:20:52 CET
It needs to be backported to 4.0

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

Alle Versuche, mich am heutigen 29.2.2016 an der UMC anzumelden, scheitern mit einer durch das Anmeldefenster überdeckten Fehlermeldung. Das Logfile zum Modul "univention-management-console-web-server" gibt dazu folgendes preis:

29.02.16 07:46:02.139  MAIN        ( PROCESS ) : SessionClient(0x247ffd0): _authenticated: success=True  status=200  message=OK, operation successful
29.02.16 07:46:02.140  MAIN        ( ERROR   ) : Traceback in default((<__main__.CPAuth object at 0x2367410>,), {}):
Traceback (most recent call last):
  File "/usr/sbin/univention-management-console-web-server", line 74, in new_f
    return f(*args, **kwargs)
  File "/usr/sbin/univention-management-console-web-server", line 730, in default
    self.set_cookies(sessionid=response.body.get('sessionid'))
  File "/usr/sbin/univention-management-console-web-server", line 433, in set_cookies
    expiration = expiration.replace(year=expiration.year + 5)
ValueError: day is out of range for month

Das Problem tritt auch mit der Version 4.0.4 auf.
Comment 1 Stefan Gohmann univentionstaff 2016-02-29 08:50:30 CET
I've fixed it for 4.1-1-errata / 4.1-0-errata, 4.0-4-errata and 3.2-8-errata.

4.1-1 commit: r67772
4.0-4 commit: r67773
3.2-8 commit: r67774

YAML files:
4.1-1: univention-management-console-frontend.yaml: r67776
4.0-4: univention-management-console-frontend.yaml: r67777
3.2-8: univention-management-console-frontend.yaml: r67778
Comment 2 Florian Best univentionstaff 2016-02-29 10:35:39 CET
OK: Problem has been reproduced and is fixed now. UMC can be used regularly after the fix.
OK: Code review
YAML: OK
Comment 3 Janek Walkenhorst univentionstaff 2016-02-29 11:09:03 CET
<http://errata.software-univention.de/ucs/4.0/403.html>