Bug 34245 - creating of object with superordinate fails
creating of object with superordinate fails
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-04 14:49 CET by Florian Best
Modified: 2016-10-21 11:51 CEST (History)
1 user (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-03-04 14:49:52 CET
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.
Comment 1 Florian Best univentionstaff 2015-01-05 11:07:29 CET
Reported again, 4.0-0 errata17 (Walle)
Comment 2 Florian Best univentionstaff 2015-01-09 10:18:17 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 3 Florian Best univentionstaff 2016-10-21 11:51:57 CEST
This was UCS 3.x (python 2.6). The code has vastly changed, error handling improved and the specific exception is not raised anymore.