Bug 49470 - schoolwizards/schools/add (schoolwizards/schools): KeyError: 'displayName'
schoolwizards/schools/add (schoolwizards/schools): KeyError: 'displayName'
Status: RESOLVED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: UMC - Wizards
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-05-14 14:50 CEST by Johannes Keiser
Modified: 2023-06-23 13:15 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019050121000451
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 Johannes Keiser univentionstaff 2019-05-14 14:50:12 CEST
Version: 4.4-0 errata59 (Blumenthal) - UCS@school 4.4 v2

Interner Server-Fehler in "schoolwizards/schools/add (schoolwizards/schools)".
Request: schoolwizards/schools/add (schoolwizards/schools)

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 253, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 122, in _decorated
    ret = func(self, request, *a, **kw)
  File "%PY2.7%/ucsschool/lib/schoolldap.py", line 145, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 209, in _create_obj
    if obj.create(ldap_user_write, validate=False):
  File "%PY2.7%/ucsschool/lib/models/base.py", line 459, in create
    success = self.create_without_hooks(lo, validate)
  File "%PY2.7%/ucsschool/lib/models/school.py", line 419, in create_without_hooks
    success = super(School, self).create_without_hooks(lo, validate)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 487, in create_without_hooks
    self.do_create(udm_obj, lo)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 510, in do_create
    self._alter_udm_obj(udm_obj)
  File "%PY2.7%/ucsschool/lib/models/school.py", line 461, in _alter_udm_obj
    return super(School, self)._alter_udm_obj(udm_obj)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 448, in _alter_udm_obj
    udm_obj[attr.udm_name] = value
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 380, in __setitem__
    self.descriptions[key]
KeyError: 'displayName'

Role: domaincontroller_master
Comment 1 Jan-Luca Kiok univentionstaff 2023-06-23 13:15:28 CEST
This issue has been filed against UCS 4.4.

UCS 4.4 is out of maintenance and UCS components may have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.