Bug 56611 - udm/nav/container/query (dns/dns): TypeError: super(type, obj): obj must be an instance or subtype of type
udm/nav/container/query (dns/dns): TypeError: super(type, obj): obj must be a...
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - DNS
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-18 11:29 CEST by Mika Westphal
Modified: 2024-04-19 10:18 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: 2023091521000178, 2024030721000086, 2023120421000165, 2023102621000092, 2023092921000241, 2024030721000086, 2024041421000034
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-09-18 11:29:23 CEST
5.0-5 errata804

Internal server error during "udm/nav/container/query (dns/dns)".
Request: udm/nav/container/query (dns/dns)

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 1029, in nav_container_query
    return self._container_query(request, container, modules, scope)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 100, in _decorated
    return method(*args, **kwargs)
  File "%PY3%/univention/management/console/ldap.py", line 203, in _decorated
    result = func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 1061, in _container_query
    for item in xmodule.search(container, scope=scope, superordinate=superordinate):
  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/dns/dns.py", line 110, in lookup
    ret += univention.admin.handlers.dns.forward_zone.lookup(co, lo, fw_zone_filter, base, superordinate, scope, unique, required, timeout, sizelimit)
  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/dns/forward_zone.py", line 205, 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/dns/forward_zone.py", line 210, in _post_unmap
    info = super(object, self)._post_unmap(info, values)
TypeError: super(type, obj): obj must be an instance or subtype of type
Comment 1 Mika Westphal univentionstaff 2023-12-08 10:40:05 CET
2023120421000165  5.0-5 errata880
2023102621000092  5.0-5 errata852
2023092921000241  5.0-5 errata813

Internal server error during "udm/nav/container/query (dns/dns)".
Request: udm/nav/container/query (dns/dns)

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 1029, in nav_container_query
    return self._container_query(request, container, modules, scope)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 100, in _decorated
    return method(*args, **kwargs)
  File "%PY3%/univention/management/console/ldap.py", line 203, in _decorated
    result = func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 1061, in _container_query
    for item in xmodule.search(container, scope=scope, superordinate=superordinate):
  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/dns/dns.py", line 110, in lookup
    ret += univention.admin.handlers.dns.forward_zone.lookup(co, lo, fw_zone_filter, base, superordinate, scope, unique, required, timeout, sizelimit)
  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/dns/forward_zone.py", line 205, 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/dns/forward_zone.py", line 210, in _post_unmap
    info = super(object, self)._post_unmap(info, values)
TypeError: super(type, obj): obj must be an instance or subtype of type
Comment 2 Mika Westphal univentionstaff 2024-03-11 10:03:21 CET
Interner Server-Fehler in "udm/nav/container/query (dns/dns)".
Request: udm/nav/container/query (dns/dns)

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 1029, in nav_container_query
    return self._container_query(request, container, modules, scope)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 100, in _decorated
    return method(*args, **kwargs)
  File "%PY3%/univention/management/console/ldap.py", line 203, in _decorated
    result = func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 1061, in _container_query
    for item in xmodule.search(container, scope=scope, superordinate=superordinate):
  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/dns/dns.py", line 110, in lookup
    ret += univention.admin.handlers.dns.forward_zone.lookup(co, lo, fw_zone_filter, base, superordinate, scope, unique, required, timeout, sizelimit)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1809, in lookup
    result.append(cls(co, lo, None, dn=dn, superordinate=superordinate, attributes=attrs))
  File "%PY3%/univention/admin/handlers/dns/forward_zone.py", line 205, in __init__
    univention.admin.handlers.simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes=attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 233, in __init__
    oldinfo = self._post_unmap(oldinfo, self.oldattr)
  File "%PY3%/univention/admin/handlers/dns/forward_zone.py", line 210, in _post_unmap
    info = super(object, self)._post_unmap(info, values)
TypeError: super(type, obj): obj must be an instance or subtype of type
Comment 3 Mika Westphal univentionstaff 2024-03-11 10:06:03 CET
2024030721000086  5.0-6 errata959  Beim öffnen der DNS Einstellungen.

Interner Server-Fehler in "udm/nav/container/query (dns/dns)".
Request: udm/nav/container/query (dns/dns)

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 1029, in nav_container_query
    return self._container_query(request, container, modules, scope)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 100, in _decorated
    return method(*args, **kwargs)
  File "%PY3%/univention/management/console/ldap.py", line 203, in _decorated
    result = func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 1061, in _container_query
    for item in xmodule.search(container, scope=scope, superordinate=superordinate):
  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/dns/dns.py", line 110, in lookup
    ret += univention.admin.handlers.dns.forward_zone.lookup(co, lo, fw_zone_filter, base, superordinate, scope, unique, required, timeout, sizelimit)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1809, in lookup
    result.append(cls(co, lo, None, dn=dn, superordinate=superordinate, attributes=attrs))
  File "%PY3%/univention/admin/handlers/dns/forward_zone.py", line 205, in __init__
    univention.admin.handlers.simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes=attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 233, in __init__
    oldinfo = self._post_unmap(oldinfo, self.oldattr)
  File "%PY3%/univention/admin/handlers/dns/forward_zone.py", line 210, in _post_unmap
    info = super(object, self)._post_unmap(info, values)
TypeError: super(type, obj): obj must be an instance or subtype of type
Comment 4 Mika Westphal univentionstaff 2024-04-19 10:18:31 CEST
Version: 5.0-7 errata1023

Error:
Interner Server-Fehler in "udm/nav/container/query (dns/dns)".
Request: udm/nav/container/query (dns/dns)

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 1040, in nav_container_query
    return self._container_query(request, container, modules, scope)
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 101, in _decorated
    return method(*args, **kwargs)
  File "%PY3%/univention/management/console/ldap.py", line 203, in _decorated
    result = func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 1073, in _container_query
    for item in xmodule.search(container, scope=scope, superordinate=superordinate):
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 682, 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/dns/dns.py", line 114, in lookup
    res += mod.lookup(co, lo, fltr, base, superordinate, scope, unique, required, timeout, sizelimit)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1888, in lookup
    result.append(cls(co, lo, None, dn=dn, superordinate=superordinate, attributes=attrs))
  File "%PY3%/univention/admin/handlers/dns/forward_zone.py", line 218, in __init__
    univention.admin.handlers.simpleLdap.__init__(self, co, lo, position, dn, superordinate, attributes=attributes)
  File "%PY3%/univention/admin/handlers/__init__.py", line 262, in __init__
    oldinfo = self._post_unmap(oldinfo, self.oldattr)
  File "%PY3%/univention/admin/handlers/dns/forward_zone.py", line 224, 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