Bug 56277 - schoolwizards/users/query: TypeError: super(type, obj): obj must be an instance or subtype of type
schoolwizards/users/query: TypeError: super(type, obj): obj must be an instan...
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Wizards
UCS@school 5.0
Other Windows NT
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-06 15:53 CEST by Maximilian Janßen
Modified: 2023-07-06 15:53 CEST (History)
0 users

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: 2023032721000513
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:53:21 CEST
Maybe related: Bug 56272


Version: 5.0-3 errata622 - UCS@school 5.0 v3

Error:
Interner Server-Fehler in "schoolwizards/users/query (schoolwizards/users)".
Request: schoolwizards/users/query (schoolwizards/users)

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 351, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 254, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/schoolwizards/__init__.py", line 241, in _decorated
    ret = func(self, request, *a, **kw)
  File "%PY3%/ucsschool/lib/school_umc_ldap_connection.py", line 156, in wrapper_func
    return func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/schoolwizards/__init__.py", line 490, in get_users
    school_prefix=False,
  File "%PY3%/univention/management/console/modules/schoolwizards/__init__.py", line 458, in _get_all
    school_prefix=school_prefix,
  File "%PY3%/ucsschool/lib/models/base.py", line 940, in get_all
    ret.append(cls.from_udm_obj(udm_obj, school, lo))
  File "%PY3%/ucsschool/lib/models/user.py", line 267, in from_udm_obj
    obj = super(User, cls).from_udm_obj(udm_obj, school, lo)
  File "%PY3%/ucsschool/lib/models/base.py", line 1017, in from_udm_obj
    return klass.from_udm_obj(udm_obj, school, lo)
  File "%PY3%/ucsschool/lib/models/user.py", line 267, in from_udm_obj
    obj = super(User, cls).from_udm_obj(udm_obj, school, lo)
  File "%PY3%/ucsschool/lib/models/base.py", line 1018, in from_udm_obj
    udm_obj.open()
  File "%PY3%/univention/admin/handlers/users/user.py", line 1169, in open
    univention.admin.handlers.simpleLdap.open(self)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1101, in open
    self.call_udm_property_hook('hook_open', self)
  File "%PY3%/univention/admin/handlers/__init__.py", line 1077, in call_udm_property_hook
    func(module)
  File "%PY3%/univention/admin/hook.py", line 208, in hook_open
    obj[self.udm_attribute_name] = new_value
  File "%PY3%/univention/admin/handlers/__init__.py", line 428, in __setitem__
    p = s.parse(v)
  File "<string>", line 62, in parse
TypeError: super(type, obj): obj must be an instance or subtype of type

Role: domaincontroller_master