Univention Bugzilla – Bug 55353
when removing a class raises primaryGroupUsed
Last modified: 2022-11-03 12:10:36 CET
This error had already a bug, but for an older version, and it was already closed #42364 Version: 4.1-5 errata502 (Vahr) Error: Die Ausführung des Kommandos schoolwizards/classes/remove schoolwizards/classes ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 281, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 190, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 122, in _decorated ret = func(self, request, *a, **kw) File "%PY2.7%/ucsschool/lib/schoolldap.py", line 145, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 256, in _delete_obj if obj.remove(ldap_user_write): File "%PY2.7%/ucsschool/lib/models/base.py", line 590, in remove success = self.remove_without_hooks(lo) File "%PY2.7%/ucsschool/lib/models/group.py", line 222, in remove_without_hooks success = super(SchoolClass, self).remove_without_hooks(lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 600, in remove_without_hooks udm_obj.remove(remove_childs=True) File "%PY2.7%/univention/admin/handlers/__init__.py", line 475, in remove return self._remove(remove_childs) File "%PY2.7%/univention/admin/handlers/__init__.py", line 952, in _remove self._ldap_pre_remove() File "%PY2.7%/univention/admin/handlers/groups/group.py", line 699, in _ldap_pre_remove raise univention.admin.uexceptions.primaryGroupUsed primaryGroupUsed
*** This bug has been marked as a duplicate of bug 42364 ***