Bug 54878 - udm/get (users/user): AttributeError: 'NoneType' object has no attribute 'get'
udm/get (users/user): AttributeError: 'NoneType' object has no attribute 'get'
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: 2022-06-17 12:21 CEST by Maximilian Janßen
Modified: 2022-07-06 16:02 CEST (History)
1 user (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: 2022062221000261, 2022061621000227, 2022061921000267, 2022061921000347
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 Maximilian Janßen univentionstaff 2022-06-17 12:21:18 CEST
Version: 5.0-1 errata336

Error: 
Interner Server-Fehler in "udm/get (users/user)".
Request: udm/get (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 520, in _get
    obj, module = self.get_obj_module(request.flavor, ldap_dn)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 227, in get_obj_module
    return get_obj_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1217, in get_obj_module
    return module.get(ldap_dn, attributes=attr), module
AttributeError: 'NoneType' object has no attribute 'get'

Role: domaincontroller_master
Comment 1 Maximilian Janßen univentionstaff 2022-07-06 15:48:14 CEST
Version: 5.0-1 errata339

Error: 
Interner Server-Fehler in "udm/get (users/user)".
Request: udm/get (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 520, in _get
    obj, module = self.get_obj_module(request.flavor, ldap_dn)
  File "%PY3%/univention/management/console/modules/udm/__init__.py", line 227, in get_obj_module
    return get_obj_module(flavor, ldap_dn, self.get_ldap_connection()[0])
  File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 1217, in get_obj_module
    return module.get(ldap_dn, attributes=attr), module
AttributeError: 'NoneType' object has no attribute 'get'

Role: domaincontroller_master