Univention Bugzilla – Bug 36763
traceback when adding computerroom with invalid name
Last modified: 2017-04-21 16:36:39 CEST
Tried to add the room 'Raum (empty)' which fails with the following traceback: Traceback: Die Ausführung des Kommandos schoolrooms/add ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/ucsschool/lib/schoolldap.py", line 204, in wrapper_func return func( *args, **kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/schoolrooms/__init__.py", line 132, in add success = room.create(ldap_user_write) File "/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py", line 365, in create success = self.create_without_hooks(lo, validate) File "/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py", line 380, in create_without_hooks raise ValidationError(self.errors.copy()) ValidationError: {'name': ['Der Wert darf nur Zahlen, Buchstaben und Punkte enthalten.']}
*** This bug has been marked as a duplicate of bug 39290 ***
*** Bug 44344 has been marked as a duplicate of this bug. ***