Bug 53501 - udm/put: KeyError: 'mailAddress'
udm/put: KeyError: 'mailAddress'
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-23 09:34 CEST by Christian Castens
Modified: 2021-06-23 09:35 CEST (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: 2021062221000342, 2021062221000333
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 2021-06-23 09:34:39 CEST
Version: 4.4-8 errata958 (Blumenthal)

Error:
Interner Server-Fehler in "udm/put (users/user)".
Request: udm/put (users/user)

  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/__init__.py", line 440, in _thread
    module.modify(properties)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 645, in modify
    obj.modify()
  File "%PY2.7%/univention/admin/handlers/users/user.py", line 1410, in modify
    return super(object, self).modify(*args, **kwargs)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 650, in modify
    dn = self._modify(modify_childs, ignore_license=ignore_license, response=response)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1316, in _modify
    self.call_udm_property_hook('hook_ldap_pre_modify', 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/oxGroupHook.py", line 76, in hook_ldap_pre_modify
    self.check_mailaddr(module)
  File "%PY2.7%/univention/admin/hooks.d/oxGroupHook.py", line 56, in check_mailaddr
    if module['mailAddress']:
  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: 'mailAddress'

Role: domaincontroller_master