Bug 51883 - schoolwizards/computers/query (schoolwizards/computers): KeyError: 'ucsschoolRole
schoolwizards/computers/query (schoolwizards/computers): KeyError: 'ucsschool...
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room administration
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-08-21 13:10 CEST by Christian Castens
Modified: 2021-01-26 14:20 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020081321000572, 2020110321000192
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Castens univentionstaff 2020-08-21 13:10:00 CEST
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