Univention Bugzilla – Bug 49496
ox Hooks for default values causes KeyError: 'oxDisplayName'
Last modified: 2019-05-17 09:40:32 CEST
+++ This bug was initially created as a clone of Bug #48979 +++ Reported again with a higher version. Version: 4.4-0 errata47 (Blumenthal) Interner Server-Fehler in "udm/put (users/user)". Request: udm/put (users/user) File "%PY2.7%/notifier/threads.py", line 78, in _run tmp = 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 428, in _thread module.modify(properties) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 86, in _decorated return method(*args, **kwargs) File "%PY2.7%/univention/management/console/ldap.py", line 143, in _decorated result = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 612, in modify obj.modify() File "%PY2.7%/univention/admin/handlers/users/user.py", line 1674, in modify return super(object, self).modify(*args, **kwargs) File "%PY2.7%/univention/admin/handlers/__init__.py", line 635, in modify dn = self._modify(modify_childs, ignore_license=ignore_license, response=response) File "%PY2.7%/univention/admin/handlers/__init__.py", line 1269, in _modify self.call_udm_property_hook('hook_ldap_pre_modify', self) File "%PY2.7%/univention/admin/handlers/__init__.py", line 1032, in call_udm_property_hook func(module) File "%PY2.7%/univention/admin/hooks.d/oxUserDefaults.py", line 101, in hook_ldap_pre_modify if ox_display_name_old == module.info['oxDisplayName'] and ox_display_name_new != module.info['oxDisplayName']: KeyError: 'oxDisplayName' Role: domaincontroller_master
Relevant is the version of the OX App, not the UCS errata level. What was the version of the OX App in your tests? Bug #48979 was fixed in App release 7.10.1-ucs4 released 2019/04/12