Bug 40940 - Objects get with from_dn() aren't moveable/dn-modifyable
Objects get with from_dn() aren't moveable/dn-modifyable
Status: CLOSED DUPLICATE of bug 41293
Product: UCS@school
Classification: Unclassified
Component: Ucsschool-lib
UCS@school 4.0
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2
Assigned To: Florian Best
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-24 12:20 CET by Florian Best
Modified: 2016-06-28 18:29 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): API change, Cleanup, Error handling, Troubleshooting
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 2016-03-24 12:20:44 CET
The base class of ucsschool.lib.models has a method from_dn() which sets self.custom_dn to that dn.
This prevents to either move() that object or to modify the cn/uid attribute.

self.custom_dn should be reset to None - let's examine why this was done and what side effects it has to remove it.
Comment 1 Florian Best univentionstaff 2016-06-13 11:51:28 CEST
custom_dn has been removed in Bug #41293.

ucs-school-lib (9.0.18-2):
r70089 | Bug #41293: support removal from a specific school (move if necessary)

*** This bug has been marked as a duplicate of bug 41293 ***
Comment 2 Daniel Tröder univentionstaff 2016-06-17 11:46:48 CEST
OK: custom_dn has been removed
OK: "make object movable" solved in scope of Bug #41293
Comment 3 Florian Best univentionstaff 2016-06-28 18:29:39 CEST
UCS@school 4.1 R2 has been released:
http://docs.software-univention.de/release-notes-ucsschool-4.1R2v1-de.pdf

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