Univention Bugzilla – Bug 57487
computerroom/room/acquire: KeyError: 'ucsschoolRole'
Last modified: 2024-07-31 13:42:28 CEST
Version: 5.0-5 errata897 - UCS@school 5.0 v4 Error: Interner Server-Fehler in "computerroom/room/acquire". Request: computerroom/room/acquire Traceback (most recent call last): File "%PY3%/univention/management/console/base.py", line 387, in __error_handling six.reraise(etype, exc, etraceback) File "%PY3%/six.py", line 693, in reraise raise value File "%PY3%/univention/management/console/base.py", line 285, in execute function.__func__(self, request, *args, **kwargs) File "%PY3%/univention/management/console/modules/decorators.py", line 189, in _response return function(self, request) File "%PY3%/ucsschool/lib/school_umc_ldap_connection.py", line 156, in wrapper_func return func(*args, **kwargs) File "%PY3%/univention/management/console/modules/computerroom/__init__.py", line 454, in room_acquire success, message, info = self._room_acquire(request, roomDN, ldap_user_read) File "%PY3%/univention/management/console/modules/computerroom/__init__.py", line 425, in _room_acquire self._computerroom.room = roomDN File "%PY3%/univention/management/console/modules/computerroom/room_management.py", line 232, in room self._set(value) File "%PY3%/ucsschool/lib/school_umc_ldap_connection.py", line 156, in wrapper_func return func(*args, **kwargs) File "%PY3%/univention/management/console/modules/computerroom/room_management.py", line 320, in _set computers = list(computerroom.get_computers(lo)) File "%PY3%/ucsschool/lib/models/group.py", line 399, in get_computers yield SchoolComputer.from_dn(host, self.school, ldap_connection) File "%PY3%/ucsschool/lib/models/base.py", line 1106, in from_dn return cls.from_udm_obj(udm_obj, school, lo) File "%PY3%/ucsschool/lib/models/computer.py", line 424, in from_udm_obj obj = super(SchoolComputer, cls).from_udm_obj(udm_obj, school, lo) File "%PY3%/ucsschool/lib/models/base.py", line 1017, in from_udm_obj return klass.from_udm_obj(udm_obj, school, lo) File "%PY3%/ucsschool/lib/models/computer.py", line 424, in from_udm_obj obj = super(SchoolComputer, cls).from_udm_obj(udm_obj, school, lo) File "%PY3%/ucsschool/lib/models/base.py", line 1027, in from_udm_obj udm_value = udm_obj[attr.udm_name] File "%PY3%/univention/admin/handlers/__init__.py", line 479, in __getitem__ elif key not in self.__no_default and self.descriptions[key].editable: KeyError: 'ucsschoolRole' Role: domaincontroller_slave