Univention Bugzilla – Bug 42673
MultiInput and ComboBox.ready() is broken
Last modified: 2019-03-13 14:36:46 CET
Created attachment 8099 [details] patch There are cases in which the deferred never resolves! Affects the _searchForm.ready() calls in all opened UDM DHCP/DNS modules. Patch attached: In these cases the ready call is immediately resolved. Should be fine, I guess.
Hmm, not really fine. @Alex: Do you have an idea how to improve the patch? This affects the widgets objectType and objectProperty of UDM. With the patch the intialvalue isn't set and the initial query is done too early so that a error message is shown: curl 'http://10.200.27.117/univention-management-console/command/udm/query' -H 'Content-Type: application/json' -H 'X-Requested-With: XMLHttpRequest' http://10.200.27.117/univention-management-console/?lang=de' --data-binary '{"options":{"objectType":"","objectProperty":"","objectPropertyValue":"","hidden":false,"fields":["name","","path"]},"flavor":"dns/dns"}' I will try to implement some workaround in UDM.
Please revert the 3 blocks in svn r73180 after this is fixed.
I found the error. HiddenInput doesn't support dependencies. I added some other workarounds in UDM so that ready() works again. svn r73349.