Univention Bugzilla – Bug 48982
KeyError: 'rocketchatActivated'
Last modified: 2024-01-12 10:27:57 CET
Version: 4.4-0 errata5 (Blumenthal) Remark: Nach Update auf 4.4 mit Errata Level 5 Traceback(a36cbecfb5798e553c59e0dc1b16fadb): Interner Server-Fehler in "udm/get (users/user)". Request: udm/get (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 531, in _get for opt in module.get_options(udm_object=obj): File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 1092, in get_options obj_options.extend(AppAttributes.options_for_obj(obj)) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 282, in options_for_obj if obj[option_def['attribute_name']] == option_def['boolean_values'][0]: File "%PY2.7%/univention/admin/handlers/__init__.py", line 466, in __getitem__ elif key not in self.__no_default and self.descriptions[key].editable: KeyError: 'rocketchatActivated'
Remark: Rocketchat WAR installiert, auf dem DC-Master. ich hatte das aber per univention-app remove rocketchat wieder gelöscht. Gibt es oder gab es da Probleme?
*** This bug has been marked as a duplicate of bug 48895 ***
(In reply to Dirk Wiesenthal from comment #2) > > *** This bug has been marked as a duplicate of bug 48895 *** I could trigger this again: Open a user object in users module, move the extended attribute into the ldap base (or remove them or whatever), save the user object. Boom: Interner Server-Fehler in "udm/get (users/user)". Request: udm/get (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 532, in _get for opt in module.get_options(udm_object=obj): File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 976, in get_options obj_options.extend(AppAttributes.options_for_obj(obj)) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 165, in options_for_obj if obj[option_def['attribute_name']] == option_def['boolean_values'][0]: File "%PY2.7%/univention/admin/handlers/__init__.py", line 466, in __getitem__ elif key not in self.__no_default and self.descriptions[key].editable: KeyError: u'nextcloudEnabled'
Fixed in univention-appcenter 8.0.11-5A~4.4.0.201903191629 I could only reproduce this when moving the container out of cn=custom attributes. In this case they are not considered by UDM, so they should not be found by the listener. I assume this holds for extended_options as well.
(In reply to Dirk Wiesenthal from comment #4) > I could only reproduce this when moving the container out of ... "moving the attribute", not the container
OK: works
<http://errata.software-univention.de/ucs/4.4/29.html>