Bug 28622 - Traceback beim Entfernen der IP eines Rechnerobjekts
Traceback beim Entfernen der IP eines Rechnerobjekts
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Computers
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Dirk Wiesenthal
Florian Best
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-21 08:47 CEST by Janis Meybohm
Modified: 2013-02-25 12:08 CET (History)
4 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):
Max CVSS v3 score:


Attachments
ignore empty ip address (510 bytes, patch)
2012-09-21 12:26 CEST, Dirk Wiesenthal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2012-09-21 08:47:46 CEST
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 305, in _thread
    module.modify( properties )
  File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 157, in wrapper_func
    ret = func( *args, **kwargs )
  File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 363, in modify
    superordinate = udm_objects.get_superordinate( self.module, None, ldap_connection, ldap_object[ '$dn$' ] )

KeyError: '$dn$'
Comment 1 Janis Meybohm univentionstaff 2012-09-21 08:53:23 CEST
Ticket#: 2012091821002164

Entfernt man in der UMC die IP eines Rechnerobjekte (ich habe derzeit Windows und Managed Client sowie DC-Backuo getestet, vermute aber mal das tritt bei allen auf) erhält man den Traceback aus comment #0. Per UDM-Cli funktioniert das.

UCS 3.0-2 errata125
univention-management-console-frontend 1.0.396-1.366.201207161556 (24595)
Comment 2 Stefan Gohmann univentionstaff 2012-09-21 09:11:40 CEST
Bitte auch den Patch an den Bug hängen, dann kann das ggf. im Support genutzt werden.
Comment 3 Dirk Wiesenthal univentionstaff 2012-09-21 12:26:40 CEST
Created attachment 4681 [details]
ignore empty ip address

Für den Support: So sollte es gehen.
Comment 4 Dirk Wiesenthal univentionstaff 2012-09-21 13:50:48 CEST
Fixed in:
  univention-directory-manager-modules 8.0.30-1.889.201209211233
Comment 5 Florian Best univentionstaff 2012-10-11 09:01:12 CEST
Löschen der letzten IP-Adresse funktioniert.

Patch ist OK.
Chanlog ist OK.
getestet mit univention-directory-manager-modules (8.0.50-1)
Comment 6 Stefan Gohmann univentionstaff 2012-12-12 21:10:25 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".