Univention Bugzilla – Bug 36918
empty DN for superordinates is sent to server
Last modified: 2016-10-21 13:38:03 CEST
Reported by traceback feedback. Note: this is not Bug #30837 and not Bug #25281. As you can see in the error message the DN is empty. We had such reports before but I am unable to imagine how this can be reproduced. We need more information / better error handling. 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 507, in _thread raise UMC_OptionTypeError( _( 'Could not find an UDM module for the superordinate object %s' ) % superordinate ) UMC_OptionTypeError: Es konnte kein UDM-Modul für das übergeordnete Objekt gefunden werden
Have a look at Bug #31828. Maybe this is the answer for all these tracebacks with empty DN's! (By using a user without posix option) ;)!!!
The exception is raised in the udm/create method. The superordinate is not provided. Looks like a failure in the frontend. Maybe due to commend #1, but not sure.
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.
As I currently cannot reproduce it tagging to 4.0-x. Maybe we get more remarks from 3.2-4 which explains the reason. Another idea was: Ich glaube das tritt vor allem auf, wenn man alte / falsche Objekte hat, die eigentlich unter einem superordinate liegen müssten, es aber nicht tun.
I imagine one way to reproduce this → having a environment with very much DNS/DHCP entries (~1000) will cause that the form is not yet fully initialized when pressing on search (some request takes long) so that an empty string is sent.
Error handling improved in UCS 4.0 and the javascript race conditions where fixed in Bug #42177. *** This bug has been marked as a duplicate of bug 42177 ***