Bug 56272 - udm/query: _post_unmap: TypeError: super(type, obj): obj must be an instance or subtype of type
udm/query: _post_unmap: TypeError: super(type, obj): obj must be an instance ...
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-06 15:24 CEST by Maximilian Janßen
Modified: 2023-09-18 11:43 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
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: 2023041721000307, 2023091721000174
Bug group (optional): 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 Maximilian Janßen univentionstaff 2023-07-06 15:24:15 CEST
Similar to Bug 55746, but in a different function


Version: 5.0-3 errata638

Error:
Interner Server-Fehler in "udm/query (users/user)".
Request: udm/query (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 615, in _thread
    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 678, 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 1137, 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 1158, 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
Comment 1 Mika Westphal univentionstaff 2023-09-18 11:15:01 CEST
5.0-4 errata794

Interner Server-Fehler in "udm/query (users/user)".
Request: udm/query (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 601, 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 681, 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 1808, 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