Univention Bugzilla – Bug 32321
Traceback on Birthday validation
Last modified: 2016-05-19 10:35:07 CEST
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
Reported via traceback feedback, 4.0-2 errata193 (Walle) Remark: Entfernen eines gespeichertes Geburtsdatums und dann erneut speichern "text" is (probably) None. used syntax class is "simple". Die Ausführung des Kommandos udm/validate users/user ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "%PY2.7%/notifier/threads.py", line 82, in _run tmp = self._function() File "%PY2.7%/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 906, in _thread property_obj.syntax.parse(value) File "%PY2.7%/univention/admin/syntax.py", line 129, in parse if self.regex is None or self.regex.match( text ) is not None: TypeError: expected string or buffer
Bug #28995 is the same code which is affected.
*** This bug has been marked as a duplicate of bug 40325 ***
Using this bug to merge svn r66556 (Bug #40325) into UCS 4.1.
univention-directory-manager-modules (11.0.2-9): r66560 | Bug #32321: allow None to be passed to the 'simple' syntax class. univention-directory-manager-modules.yaml: r66561 | YAML Bug #32321
Code review: OK Tests: OK YAML: OK
<http://errata.software-univention.de/ucs/4.1/68.html>