Bug 57321 - AttributeError: 'NoneType' object has no attribute 'object': udm/containers (oxmail/oxmail)
AttributeError: 'NoneType' object has no attribute 'object': udm/containers (...
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: 2024-05-24 09:23 CEST by Mika Westphal
Modified: 2024-05-24 09:23 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: 2024031821000065
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 2024-05-24 09:23:07 CEST
Version: 5.0-7 errata993

Error:
Interner Server-Fehler in "udm/containers (oxmail/oxmail)".
Request: udm/containers (oxmail/oxmail)

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 387, 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 285, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 107, in _decorated
    return func(self, request, *a, **kw)
  File "%PY3%/univention/management/console/modules/decorators.py", line 478, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 189, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 602, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 444, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 744, in containers
    containers = [{'id': x, 'label': ldap_dn2path(x, ldap_base=module.ldap_base)} for x in module.get_default_containers()]
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1065, in get_default_containers
    return self.module.object.get_default_containers(ldap_connection)
AttributeError: 'NoneType' object has no attribute 'object'

Role: domaincontroller_master