Univention Bugzilla – Bug 40431
UMC It's not possible to set a date as empty
Last modified: 2016-01-20 14:01:56 CET
I forgot to build the package after svn r66556 so only a part of the fix is released :/. +++ This bug was initially created as a clone of Bug #40325 +++ (I'm cloning this bug to get a fix for this issue in UCS 3.2) Once a date field is set (any date field, birthday, expiry date, etc.), one is not able to unset it again. This is happening to us in UCS 3.2 when trying to unset a date field in UMC. ---- Internal module error: An error occured during command processing. File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 867, in _thread property_obj.syntax.parse( value ) File "/usr/lib/pymodules/python2.6/univention/admin/syntax.py", line 124, in parse if self.regex is None or self.regex.match( text ) is not None: TypeError: expected string or buffer ---- +++ This bug was initially created as a clone of Bug #32321 +++ When removing an previously set birthday: File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 811, in _thread property_obj.syntax.parse( value ) File "/usr/lib/pymodules/python2.6/univention/admin/syntax.py", line 113, in parse if self.regex is None or self.regex.match( text ) is not None: TypeError: expected string or buffer
(In reply to Florian Best from comment #0) > I forgot to build the package after svn r66556 so only a part of the fix is > released :/. So, the account expiry has been fixed with Bug #40325. The traceback happens now with the birthday.
Tests: OK, it is now possible to remove the expiry date and the birthday. YAML: OK
<http://errata.software-univention.de/ucs/3.2/394.html>