Univention Bugzilla – Bug 39144
"superordinate object not present" traceback when removing DHCP/DNS objects
Last modified: 2016-10-11 17:56:13 CEST
Reported traceback, 4.0-2 errata264 (Walle) Maybe has to do with the frontend tree reload. Execution of command 'udm/remove navigation' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 207, in _decorated return function(self, request, *args, **kwargs) File "%PY2.7%/notifier/threads.py", line 82, in _run tmp = 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 439, 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 163, in _decorated return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 146, in wrapper_func return _func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 139, in _func ret = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 522, in remove obj = self.module.object(None, ldap_connection, ldap_position, dn=ldap_dn, superordinate=superordinate) File "%PY2.7%/univention/admin/handlers/dhcp/host.py", line 128, in __init__ raise univention.admin.uexceptions.insufficientInformation, 'superordinate object not present' insufficientInformation: superordinate object not present
Another similar traceback: Execution of command 'udm/get navigation' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 207, in _decorated return function(self, request, *args, **kwargs) File "%PY2.7%/notifier/threads.py", line 82, in _run tmp = 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 487, in _thread obj = module.get(ldap_dn) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 163, in _decorated return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 146, in wrapper_func return _func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 139, in _func ret = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 630, in get UDM_Error(exc).reraise() File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 618, in get obj = self.module.object(None, ldap_connection, None, ldap_dn, superordinate, attributes=attributes) File "%PY2.7%/univention/admin/handlers/dhcp/subnet.py", line 137, in __init__ raise univention.admin.uexceptions.insufficientInformation, 'superordinate object not present' UDM_Error: Information provided is not sufficient. superordinate object not present Version: 4.0-3 errata342 (Walle)
Instead of raising such an exception we could also search for the superordinate if the object exists.
*** Bug 33964 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 40649 ***