Univention Bugzilla – Bug 42365
TypeError: 'NoneType' object has no attribute '__getitem__'
Last modified: 2016-09-19 11:14:32 CEST
Version: 4.1-3 errata239 (Vahr) Remark: Ich habe versucht einem "Lehrer und Mitarbeiter" ein neues Kennwort über das UMC Modul "Benutzer (Schule)" zu setzen. Passwort 2x in die entsprechenden Felder eingegeben, auf "Save" geklickt (UMC war absichtlich auf Englisch), dann kam der Traceback Traceback(21d44cf46d75ce7f8ecac8d90549e9c7): Execution of command 'schoolwizards/users/put schoolwizards/users' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 283, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 112, in _decorated ret = func(self, request, *a, **kw) File "%PY2.7%/ucsschool/lib/schoolldap.py", line 140, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 204, in _modify_obj obj.modify(ldap_user_write, validate=False) File "%PY2.7%/ucsschool/lib/models/base.py", line 471, in modify success = self.modify_without_hooks(lo, validate, move_if_necessary) File "%PY2.7%/ucsschool/lib/models/base.py", line 494, in modify_without_hooks self.do_modify(udm_obj, lo) File "%PY2.7%/ucsschool/lib/models/user.py", line 273, in do_modify classes = self.school_classes[school_group.school] TypeError: 'NoneType' object has no attribute '__getitem__'
I guess this is fixed by Bug #41609. *** This bug has been marked as a duplicate of bug 41609 ***
Reported again, 4.1-3 errata234 (Vahr) Remark: Beim setzen des Passworts für ein Lehrer und Mitarbeiter Konto