Bug 56267 - KeyError: 'rocketchatActivated'
KeyError: 'rocketchatActivated'
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-06 13:43 CEST by Maximilian Janßen
Modified: 2023-09-18 12:55 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?: 3: A User would likely not purchase the product
User Pain: 0.086
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2022111621000708, 2022111421000293, 2022092221000193, 2023081421000065, 2023081421000056
Bug group (optional): External feedback, Regression
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2023-07-06 13:43:07 CEST
+++ This bug was initially created as a clone of Bug #48982 +++

5.0-2 errata491, 5.0-2 errata479, 5.0-2 errata431


Internal server error during "udm/get (users/user)".
Request: udm/get (users/user)

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/__init__.py", line 548, in _get
    for opt in module.get_options(udm_object=obj):
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1018, in get_options
    obj_options.extend(AppAttributes.options_for_obj(obj))
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 181, in options_for_obj
    if obj[option_def['attribute_name']] == option_def['boolean_values'][0]:
  File "%PY3%/univention/admin/handlers/__init__.py", line 478, in __getitem__
    elif key not in self.__no_default and self.descriptions[key].editable:
KeyError: 'rocketchatActivated'
Comment 1 Mika Westphal univentionstaff 2023-09-18 12:55:18 CEST
5.0-4 errata779

Internal server error during "udm/get (users/user)".
Request: udm/get (users/user)

Traceback (most recent call last):
  File "%PY3%/univention/management/console/modules/decorators.py", line 254, in _run
    result = self._function(*args, **kwargs)  # type: Union[BaseException, _T]
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 495, in get
    return self._get(request)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 537, in _get
    for opt in module.get_options(udm_object=obj):
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1009, in get_options
    obj_options.extend(AppAttributes.options_for_obj(obj))
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 179, in options_for_obj
    if obj[option_def['attribute_name']] == option_def['boolean_values'][0]:
  File "%PY3%/univention/admin/handlers/__init__.py", line 479, in __getitem__
    elif key not in self.__no_default and self.descriptions[key].editable:
KeyError: 'rocketchatActivated'