Bug 54102 - udm/add (navigation): TypeError: unhashable type: 'list'
udm/add (navigation): TypeError: unhashable type: 'list'
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-19 12:51 CET by Maximilian Janßen
Modified: 2021-12-17 11:02 CET (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.011
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021121621000404, 2021102421000171, 2021112021000701, 2021030121000361
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 2021-11-19 12:51:16 CET
same exists for udm/put (diffrent traceback): #52566


Version: 4.4-8 errata1067 (Blumenthal)

Remark: When creating user account template this error appears and not possible to create.

Error: 
Internal server error during "udm/add (navigation)".
Request: udm/add (navigation)

  File "%PY2.7%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 402, in _thread
    dn = module.create(properties, container=options.get('container'), superordinate=options.get('superordinate'))
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 566, in create
    obj.create()
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 557, in create
    dn = self._create(response=response, serverctrls=serverctrls)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1259, in _create
    al = self._ldap_object_classes_add(al)
  File "%PY2.7%/univention/admin/handlers/settings/usertemplate.py", line 370, in _ldap_object_classes_add
    return self.filter_object_classes(al)
  File "%PY2.7%/univention/admin/handlers/settings/usertemplate.py", line 379, in filter_object_classes
    ml = [x if x[0] != 'objectClass' and not isinstance(x[-1], (list, tuple)) else list(x[:-1]) + [list(set(x[-1]) - BLACKLISTED_OBJECT_CLASSES)] for x in ml]
TypeError: unhashable type: 'list'

Role: domaincontroller_master
Comment 1 Maximilian Janßen univentionstaff 2021-11-24 11:52:47 CET
Reported again:
Version: 4.4-8 errata1101 (Blumenthal)