Bug 56614 - udm/remove (users/user): TypeError: super(type, obj): obj must be an instance or subtype of type
udm/remove (users/user): TypeError: super(type, obj): obj must be an instance...
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-18 12:17 CEST by Mika Westphal
Modified: 2023-09-18 12:17 CEST (History)
0 users

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: 2023083121000372
Bug group (optional):
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 2023-09-18 12:17:43 CEST
5.0-4 errata794

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

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 466, in remove
    module.remove(ldap_dn, options.get('cleanup', False), options.get('recursive', False))
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 598, in remove
    obj.remove(remove_childs=recursive)
  File "%PY3%/univention/admin/handlers/__init__.py", line 884, in remove
    return self._remove(remove_childs)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1581, in _remove
    self._ldap_post_remove()
  File "%PY3%/univention/admin/handlers/users/user.py", line 1997, in _ldap_post_remove
    super(object, self)._ldap_post_remove()
TypeError: super(type, obj): obj must be an instance or subtype of type