Bug 57227 - Internal server error during "udm/get (navigation)": KeyError: 'groups'
Internal server error during "udm/get (navigation)": KeyError: 'groups'
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-04-19 10:06 CEST by Mika Westphal
Modified: 2024-04-19 10:29 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2024041721000305, 2024041621000058, 2024041521000096, 2024041521000087, 2024041521000078, 2024041121000227, 2024040321000421
Bug group (optional): Regression
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-04-19 10:06:36 CEST
Version: 5.0-7 errata1018

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-04-19 10:11:06 CEST
 Version: 5.0-7 errata1023

Remark: App des LDAP-Verzeichnisses öffnen, und ein LDAP Benutzerobjekt bearbeiten.

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 Mika Westphal univentionstaff 2024-04-19 10:12:20 CEST
Version: 5.0-7 errata1018

Remark: This error occurs when you try to edit a "simple login account" user. Checked on multiple infrastructures with Univention. The error is repeated. The user, once defined,
does his job. Only it cannot be edited later.

Role: domaincontroller_master
Comment 3 Mika Westphal univentionstaff 2024-04-19 10:14:19 CEST
Version: 5.0-7 errata1018

Remark: This error occurs when you try to edit a "simple login account" user. Checked on multiple infrastructures with Univention. The error is repeated. The user, once defined,
does his job. Only it cannot be edited later.

Role: domaincontroller_master
Comment 4 Mika Westphal univentionstaff 2024-04-19 10:21:31 CEST
2024041121000227
Version: 5.0-7 errata1023

Remark: User gerade angelegt zum Anbinden eines Apache Directory Studios
Comment 5 Mika Westphal univentionstaff 2024-04-19 10:29:45 CEST
2024040321000421
Version: 5.0-7 errata1018
Role: domaincontroller_master