Bug 51863 - udm/syntax/choices: KeyError: 'oxDisplayName'
udm/syntax/choices: KeyError: 'oxDisplayName'
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-08-20 15:02 CEST by Christian Castens
Modified: 2022-04-06 15:40 CEST (History)
0 users

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: 2022040421000682, 2022022321000668, 2020070121000141, 2020062121000301, 2022012521000237
Bug group (optional): 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-20 15:02:31 CEST
Version: 4.4-4 errata642 (Blumenthal)

Error:
Interner Server-Fehler in "udm/syntax/choices (oxresources/oxresources)".
Request: udm/syntax/choices (oxresources/oxresources)

  File "%PY2.7%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 97, in _decorated
    return method(*args, **kwargs)
  File "%PY2.7%/univention/management/console/ldap.py", line 152, in _decorated
    result = func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 976, in _thread
    return read_syntax_choices(syntax, request.options, ldap_connection=ldap_connection, ldap_position=ldap_position)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1552, in read_syntax_choices
    obj = module.get(dn)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 716, in get
    obj.open()
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1078, in open
    self.call_udm_property_hook('hook_open', self)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1054, in call_udm_property_hook
    func(module)
  File "%PY2.7%/univention/admin/hooks.d/oxUserDefaults.py", line 88, in hook_open
    for k, v in self.ox_defaults(module.lo, module.position).items():
  File "%PY2.7%/univention/admin/hooks.d/oxUserDefaults.py", line 71, in ox_defaults
    if not cls._ox_defaults["oxDisplayName"]:
KeyError: 'oxDisplayName'

Role: domaincontroller_master

Errno: 2fdd460d99891b6eeb415512fa7ab6f8
Comment 1 Christian Castens univentionstaff 2020-08-26 16:05:35 CEST
reported again:
Version: 4.4-4 errata499 (Blumenthal)
Request: udm/syntax/choices (oxresources/oxresources)
Role: domaincontroller_master
Comment 2 Maximilian Janßen univentionstaff 2022-01-26 16:21:09 CET
Version: 5.0-1 errata192

Error: 
Interner Server-Fehler in "udm/syntax/choices (oxresources/oxresources)".
Request: udm/syntax/choices (oxresources/oxresources)

Traceback (most recent call last):
  File "%PY3%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY3%/notifier/__init__.py", line 105, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 101, in _decorated
    return method(*args, **kwargs)
  File "%PY3%/univention/management/console/ldap.py", line 152, in _decorated
    result = func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 992, in _thread
    return read_syntax_choices(syntax, request.options, ldap_connection=ldap_connection, ldap_position=ldap_position)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1535, in read_syntax_choices
    obj = module.get(dn)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 720, in get
    obj.open()
  File "%PY3%/univention/admin/handlers/users/user.py", line 1343, in open
    univention.admin.handlers.simpleLdap.open(self)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1089, in open
    self.call_udm_property_hook('hook_open', self)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1066, in call_udm_property_hook
    func(module)
  File "<string>", line 87, in hook_open
  File "<string>", line 70, in ox_defaults
KeyError: 'oxDisplayName'

Role: domaincontroller_master