Bug 36918 - empty DN for superordinates is sent to server
empty DN for superordinates is sent to server
Status: RESOLVED DUPLICATE of bug 42177
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: UMC maintainers
:
Depends on:
Blocks: 31828
  Show dependency treegraph
 
Reported: 2014-11-20 13:19 CET by Florian Best
Modified: 2016-10-21 13:38 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2014-11-20 13:19:47 CET
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
Comment 1 Florian Best univentionstaff 2014-11-28 11:28:20 CET
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) ;)!!!
Comment 2 Florian Best univentionstaff 2014-12-04 14:19:12 CET
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.
Comment 3 Florian Best univentionstaff 2015-01-09 10:18:20 CET
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.
Comment 4 Florian Best univentionstaff 2015-01-09 13:31:38 CET
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.
Comment 5 Florian Best univentionstaff 2015-02-05 15:34:15 CET
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.
Comment 6 Florian Best univentionstaff 2016-10-21 13:38:03 CEST
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 ***