Univention Bugzilla – Bug 51883
schoolwizards/computers/query (schoolwizards/computers): KeyError: 'ucsschoolRole
Last modified: 2021-01-26 14:20:43 CET
Version: 4.4-5 errata710 (Blumenthal) - UCS@school 4.4 v6 Error: Interner Server-Fehler in "schoolwizards/computers/query (schoolwizards/computers)". Request: schoolwizards/computers/query (schoolwizards/computers) 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%/univention/management/console/modules/schoolwizards/__init__.py", line 142, in _decorated ret = func(self, request, *a, **kw) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 141, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 368, in get_computers return self._get_all(computer_class, school, request.options.get("filter"), ldap_user_read) File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 304, in _get_all objs.extend(klass.get_all(lo, school.name, filter_str=filter_str, easy_filter=True)) File "%PY2.7%/ucsschool/lib/models/base.py", line 869, in get_all ret.append(cls.from_udm_obj(udm_obj, school, lo)) File "%PY2.7%/ucsschool/lib/models/computer.py", line 375, in from_udm_obj obj = super(SchoolComputer, cls).from_udm_obj(udm_obj, school, lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 945, in from_udm_obj return klass.from_udm_obj(udm_obj, school, lo) File "%PY2.7%/ucsschool/lib/models/computer.py", line 375, in from_udm_obj obj = super(SchoolComputer, cls).from_udm_obj(udm_obj, school, lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 954, in from_udm_obj udm_value = udm_obj[attr.udm_name] File "%PY2.7%/univention/admin/handlers/__init__.py", line 478, in __getitem__ elif key not in self.__no_default and self.descriptions[key].editable: KeyError: 'ucsschoolRole' Role: domaincontroller_master