Univention Bugzilla – Bug 34245
creating of object with superordinate fails
Last modified: 2016-10-21 11:51:57 CEST
We received the following traceback: Traceback: File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 339, in _thread dn = module.create( properties, container = options.get( 'container' ), superordinate = options.get( 'superordinate' ) ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 155, in wrapper_func ret = func( *args, **kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 311, in create raise UMC_CommandError( str( e ) ) UMC_CommandError: DN not found: . The frontend sent a empty superordinate DN when creating an object. I could not reproduce this. A meaningful error message could be displayed when the DN is empty.
Reported again, 4.0-0 errata17 (Walle)
With UCS 4.0-0 errata 18 this error will not occur as traceback anymore. Nevertheless there seems to be a error in the frontend. (browser related?) Bug #25281/Bug #30809: after removing a superordinate the tree gets reloaded with a not existing DN sent to the server. Bug #34245: an empty DN is sent when creating a superordinate object. Bug #36918: an empty superordinate-DN is sent when creating a object.
This was UCS 3.x (python 2.6). The code has vastly changed, error handling improved and the specific exception is not raised anymore.