Univention Bugzilla – Bug 34944
Traceback while adding class with umlauts
Last modified: 2014-08-27 17:01:49 CEST
I tried to create the class "abcöäüdef" which showed this traceback. The frontend should check for valid characters. Die Ausführung des Kommandos schoolwizards/classes/add ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute func( request ) File "/usr/lib/pymodules/python2.6/ucsschool/lib/schoolldap.py", line 204, in wrapper_func return func( *args, **kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/schoolwizards/__init__.py", line 118, in _decorated ret = func(self, request, *a, **kw) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/schoolwizards/__init__.py", line 196, in _create_obj if obj.create(ldap_user_write, validate=False): File "/usr/lib/pymodules/python2.6/ucsschool/lib/models/base.py", line 365, in create success = self.create_without_hooks(lo, validate) File "/usr/lib/pymodules/python2.6/ucsschool/lib/models/group.py", line 137, in create_without_hooks self.create_share(lo) # success = success and ? File "/usr/lib/pymodules/python2.6/ucsschool/lib/models/group.py", line 142, in create_share return share.create(lo) File "/usr/lib/pymodules/python2.6/ucsschool/lib/models/base.py", line 365, in create success = self.create_without_hooks(lo, validate) File "/usr/lib/pymodules/python2.6/ucsschool/lib/models/base.py", line 380, in create_without_hooks raise ValidationError(self.errors.copy()) ValidationError: {'name': ['Der Wert darf nur Ziffern, Buchstaben, Punkte, und Leerzeichen enthalten, muss mindestens 2 Zeichen lang sein, und mit einer Ziffer oder einem Buchstaben beginnen und enden.']}
Looks like the group object has successfully been created in LDAP.
(In reply to Sönke Schwardt-Krummrich from comment #1) > Looks like the group object has successfully been created in LDAP. The class group has been created but the class share is missing. When removing the class "abcöäüdef", the following message is shown. "GSOst-abcöäüdef" existiert nicht! The message aims at the missing class share. The class group has been removed successfully.
ucs-school-umc-wizards 4.0.31-2
Changelog: OK Fix: OK Code-Review: OK
UCS@school 3.2 R2 v2 has been released: http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html If this error occurs again, please use "Clone This Bug".