Univention Bugzilla – Bug 32504
Account expiry date cannot be removed
Last modified: 2016-01-04 11:54:03 CET
The account expiry date, set in the account tab of the user module, cannot be removed. If the date is set empty, the following traceback is displayed upon saving the changes. 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 1040, in parse if self._re_iso.match(text) != None: TypeError: expected string or buffer Reproduce: Set account expiry date in the user module save set account expiry date empty save
*** This bug has been marked as a duplicate of bug 25279 ***
I think is better to reopen the bug instead of creating a clone of it. This bug has been marked as duplicated of a bug that was fixed for UCS 4, but not for UCS 3.2 which is still under support. We will need a backport of the fix in #25279 to UCS 3.2 This is the traceback when trying to save with an empty date (UMC, UCS 3.2-8): ---- 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 has been marked as a duplicate of bug 40325 ***