Univention Bugzilla – Bug 50024
[UDM HTTP API] add form ignores passed options, thus misses properties
Last modified: 2019-10-02 16:06:33 CEST
The object template retrieved through the add form does not contain properties that require options to be set. For example the "school" property is missing, if the option "uscschoolTeacher" (etc) is not set. But when the option is passed to the add form, in the reply the option is still unset and thus the property is missing. Add support for for the "options" argument and deliver object templates containing all properties that are enabled for the options.
Now, all properties are send, even if the option is not enabled :-) I don't think we need parameters for the options?! univention-management-console-module-udm (9.0.12-27) bfb4130680ff | Bug #27816: cleanup representations
Sending all properties regardless of options is good IMHO. I think either options should not be accepted in the request (→ 400 BAD REQUEST) or if they are, then they should be sent back exactly like they were received. So that if the client uses the template he doesn't accidentally en/disable additional options.
UCS 4.4-2 has been released: https://docs.software-univention.de/release-notes-4.4-2-en.html https://docs.software-univention.de/release-notes-4.4-2-de.html If this error occurs again, please use "Clone This Bug".