Univention Bugzilla – Bug 56565
schoolgroups/put (teacher): Missing school prefix in name
Last modified: 2023-09-11 12:17:52 CEST
Interner Server-Fehler in "schoolgroups/put (teacher)". Request: schoolgroups/put (teacher) Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/schoolgroups/__init__.py", line 234, in put return self.add_teacher_to_classes(request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/schoolgroups/__init__.py", line 447, in add_teacher_to_classes if not class_.modify(ldap_machine_write): File "%PY2.7%/ucsschool/lib/models/base.py", line 674, in modify success = self.modify_without_hooks(lo, validate, move_if_necessary) File "%PY2.7%/ucsschool/lib/models/group.py", line 267, in modify_without_hooks success = super(SchoolClass, self).modify_without_hooks(lo, validate, move_if_necessary) File "%PY2.7%/ucsschool/lib/models/base.py", line 689, in modify_without_hooks self.validate(lo, validate_unlikely_changes=True) File "%PY2.7%/ucsschool/lib/models/group.py", line 323, in validate raise ValueError("Missing school prefix in name: {!r}.".format(self)) ValueError: Missing school prefix in name: SchoolClass(name='ChemieLK2024', school='schule', dn=u'cn=ChemieLK2024,cn=klassen,cn=schueler,cn=groups,ou=schule,dc=paedml-linux,dc=lokal').
(In reply to Mika Westphal from comment #0) 4.4-9 errata1371 (Blumenthal) - UCS@school 4.4 v9