Univention Bugzilla – Bug 31781
Old DN printed after object shift
Last modified: 2018-04-13 13:28:26 CEST
After moving an object to another position, the old DN (containing the old position) is printed. See: ===== root@master10:~# udm users/user create --set username="some_user" --set lastname="univention" --set password="univention" Object created: uid=some_user,dc=ucs,dc=dev root@master10:~# udm users/user move --dn "uid=some_user,dc=ucs,dc=dev" --position "cn=computers,dc=ucs,dc=dev" Object modified: uid=some_user,dc=ucs,dc=dev The new DN should be printed instead, like it is already done when an object attribute is modified which is part of the DN (e.g uid, zoneName or common name). See: ===== root@master10:~# udm users/user create --set username="old" --set lastname="univention" --set password="univention" Object created: uid=old,dc=ucs,dc=dev root@master10:~# udm users/user modify --dn uid="old,dc=ucs,dc=dev" --set username="new" Object modified: uid=new,dc=ucs,dc=dev
When this bug is fixed, univention/testing/udm.py.UCSTestUDM().move_object() should be adpdated to return the DN.
This issue has been filed against the UCS version "unstable" which does not really exist. Please change the version value.
*** This bug has been marked as a duplicate of bug 41694 ***