Bug 56364 - /univention/command/udm/query (users/user): TypeError: super(type, obj): obj must be an instance or subtype of type
/univention/command/udm/query (users/user): TypeError: super(type, obj): obj ...
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: 2023-07-28 14:46 CEST by Mika Westphal
Modified: 2023-07-31 14:43 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: 2023072021000368
Bug group (optional): Error handling, External feedback
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-07-28 14:46:01 CEST
Version: 5.0-4 errata726

Remark: wat?

Error:
Internal server error during "/univention/command/udm/query (users/user)".
Request: /univention/command/udm/query (users/user)

Traceback (most recent call last):
  File "%PY3%/notifier/threads.py", line 72, in _run
    result = self._function()  # type: Union[BaseException, _T]
  File "%PY3%/notifier/__init__.py", line 188, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 600, in query
    result = module.search(container, objectProperty, objectPropertyValue, superordinate, scope=scope, hidden=hidden, allow_asterisks=USE_ASTERISKS)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 677, in search
    result = self.module.lookup(None, ldap_connection, filter_s, base=container, superordinate=superordinate, scope=scope, sizelimit=sizelimit, **kwargs)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1797, in lookup
    result.append(cls(co, lo, None, dn=dn, superordinate=superordinate, attributes=attrs))
  File "%PY3%/univention/admin/handlers/users/user.py", line 1148, in __init__
    univention.admin.handlers.simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes=attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 232, in __init__
    oldinfo = self._post_unmap(oldinfo, self.oldattr)
  File "%PY3%/univention/admin/handlers/users/user.py", line 1169, in _post_unmap
    info = super(object, self)._post_unmap(info, values)
TypeError: super(type, obj): obj must be an instance or subtype of type

Role: domaincontroller_master