Bug 57305 - udm/get: KeyError: 'groups'
Summary: udm/get: KeyError: 'groups'
Status: RESOLVED DUPLICATE of bug 57228
Alias: None
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-21 15:36 CEST by Mika Westphal
Modified: 2024-05-21 15:53 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: 2024051521000272, 2024042021000031
Bug group (optional): Error handling, External feedback
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mika Westphal univentionstaff 2024-05-21 15:36:18 CEST
Version: 5.0-7 errata1044

Error:
Internal server error during "udm/get (navigation)".
Request: udm/get (navigation)

Traceback (most recent call last):
  File "%PY3%/univention/management/console/modules/decorators.py", line 259, in _run
    result = self._function(*args, **kwargs)  # type: Union[BaseException, _T]
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 496, in get
    return self._get(request)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 553, in _get
    prop.lazy_load(obj)
  File "%PY3%/univention/admin/__init__.py", line 398, in lazy_load
    getattr(obj, self.lazy_loading_fn)()
  File "%PY3%/univention/admin/guardian_roles.py", line 141, in open_guardian
    self.info['guardianInheritedRoles'] = load_roles(self.lo, self['groups'] + [self['primaryGroup']])
  File "%PY3%/univention/admin/handlers/__init__.py", line 525, in __getitem__
    elif key not in self.__no_default and self.descriptions[key].editable:
KeyError: 'groups'

Role: domaincontroller_master
Comment 1 Mika Westphal univentionstaff 2024-05-21 15:38:39 CEST
2024042021000031
Version: 5.0-7 errata1024

Remark:
1. Applikation LDAP-Verzeichnis Öffnen
2. Ein Objekt auswählen z.B. Benutzerkonto
3. Auf bearbeiten klicken -> Fehler

Error:
Interner Server-Fehler in "udm/get (navigation)".
Request: udm/get (navigation)

Traceback (most recent call last):
  File "%PY3%/univention/management/console/modules/decorators.py", line 259, in _run
    result = self._function(*args, **kwargs)  # type: Union[BaseException, _T]
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 496, in get
    return self._get(request)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 553, in _get
    prop.lazy_load(obj)
  File "%PY3%/univention/admin/__init__.py", line 398, in lazy_load
    getattr(obj, self.lazy_loading_fn)()
  File "%PY3%/univention/admin/guardian_roles.py", line 141, in open_guardian
    self.info['guardianInheritedRoles'] = load_roles(self.lo, self['groups'] + [self['primaryGroup']])
  File "%PY3%/univention/admin/handlers/__init__.py", line 525, in __getitem__
    elif key not in self.__no_default and self.descriptions[key].editable:
KeyError: 'groups'

Role: domaincontroller_master
Comment 2 Jan-Luca Kiok univentionstaff 2024-05-21 15:53:58 CEST

*** This bug has been marked as a duplicate of bug 57228 ***