Univention Bugzilla – Full Text Bug Listing |
Summary: | MultiInput and ComboBox.ready() is broken | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC (Generic) | Assignee: | UMC maintainers <umc-maintainers> |
Status: | REOPENED --- | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | klaeser |
Version: | UCS 4.4 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=42177 | ||
What kind of report is it?: | Development Internal | 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: | patch |
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. |
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.