Bug 52165 - udm/remove: AttributeError: 'object' object has no attribute 'categories'
udm/remove: AttributeError: 'object' object has no attribute 'categories'
Status: NEW
Product: UCS
Classification: Unclassified
Component: Portal
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-09-30 15:38 CEST by Christian Castens
Modified: 2021-01-26 11:24 CET (History)
1 user (show)

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: 2020092721000188, 2021011821000538, 2021011621000283
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 Christian Castens univentionstaff 2020-09-30 15:38:45 CEST
Version: 4.4-5 errata750 (Blumenthal)

Error:
Internal server error during "udm/remove (portals/all)".
Request: udm/remove (portals/all)

  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 467, in _thread
    module.remove(ldap_dn, options.get('cleanup', False), options.get('recursive', False))
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 598, in remove
    obj.remove(remove_childs=recursive)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 877, in remove
    return self._remove(remove_childs)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1531, in _remove
    self._ldap_post_remove()
  File "%PY2.7%/univention/admin/handlers/portals/category.py", line 123, in _ldap_post_remove
    portal_obj.categories.remove(self.dn)
AttributeError: 'object' object has no attribute 'categories'

Role: domaincontroller_master
Comment 1 Christian Castens univentionstaff 2021-01-26 10:48:35 CET
reported again:
Version: 4.4-7 errata870 (Blumenthal) - UCS@school 4.4 v8