Univention Bugzilla – Bug 25281
Could not find an UDM module for the superordinate object
Last modified: 2015-03-23 13:48:05 CET
Wenn man sich innerhalb einer Superordinate befindet (z.b. DHCP Service), während man in einem anderem Tab diese löscht kommt folgender Traceback, weil sich die Ansicht von selbst aktualisiert, nun aber das Übergeordnete Objekt nicht mehr finden kann. File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 81, 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 412, 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 cn=fooDHCP,cn=dhcp,dc=ucs,dc=test gefunden werden
Als Traceback-Feedback aufgetaucht 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 485, 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 cn=XXX.dev,cn=dhcp,dc=XXX,dc=dev gefunden werden
Reported by feedback. Remark: Nach dem Löschen einer DNS-Zone erscheint die Fehlermeldung, dass kein Modul für das Objekt der gelöschten DNS Zone gefunden werden konnte.
reported again, 4.0-0 errata0 (Walle): UMC_OptionTypeError: Es konnte kein UDM-Modul für das übergeordnete Objekt zoneName=**.***.com,cn=dns,dc=office,dc=****,dc=com gefunden werden
I guess we need to fix Bug #30809 for this.
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.
@Alex: The old summary is better for the search as the string is wrong in the code.
Is this issue still reported?
(In reply to Stefan Gohmann from comment #7) > Is this issue still reported? The traceback can't be reported anymore with UCS 4.0-0-errata~60. There have not been a traceback report with a older version anymore. I just found the problem here, why this error could occur: We are creating DNS host records and pointer records without univentionObjectType in simpleComputer. That causes that specific code can't identify the object as DNS object. This specific problem was fixed (for new installations) in Bug #37504 (svn r58940). The problem still exists for DHCP entries.
Created attachment 6770 [details] Screenshot I know exactly how to reproduce now: 1. Open two DNS tabs 2. In the first tab click in the tree on one zone 3. In the second tab display the zone overview (default) and remove that zone there → Then the error will occur (since UCS 4.0-0 errata 18 only with an error message, see screenshot)
I close this as WORKSFORME as we have more userfriendly error message now (instead of tracebacks), which is enough I think. REOPEN if we should disable the automatic reload of the tree/search in the case there are multiple tabs opened.
It is now better because a traceback is no longer shown. The error message could be improved for example a new search doesn't help if the deleted superordinate is selected, but I think we should first do more important issues in the DNS / DHCP modules.