Bug 1322594
| Summary: | service :dialog: Dynamic dropdown values are not loaded in dropdown unless refresh button is pressed | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Shveta <sshveta> | ||||||||
| Component: | UI - OPS | Assignee: | eclarizi | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Shveta <sshveta> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 5.5.0 | CC: | dclarizi, gmccullo, hkataria, jhardy, mpovolny, obarenbo, simaishi, sshveta | ||||||||
| Target Milestone: | GA | ||||||||||
| Target Release: | 5.6.0 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | service:dialog | ||||||||||
| Fixed In Version: | 5.6.0.1 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2016-06-29 15:46:23 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Shveta
2016-03-30 20:19:27 UTC
Steps : create a dialog with two dynamic drop down and auto-refresh checked for both. Create a service that uses this dialog Order service , dropdown shows "None" in values. Press "refresh" and values are loaded and displayed . Build : 5.5.3.2.20160318152106_92d2d67 Created attachment 1141930 [details]
No values
Also, selecting value in first drop down does not auto-refresh values in second drop down .On hitting "refresh " again corresponding to first dropdown are displayed.
Created attachment 1141931 [details]
one
Created attachment 1141932 [details]
two
This issue seems very similar to a combination of both of these: https://bugzilla.redhat.com/show_bug.cgi?id=1321352 https://bugzilla.redhat.com/show_bug.cgi?id=1311306 Are we sure that this is a separate issue? Nevermind, I just realized that the above two BZs are related to the SSUI and this is not. Shveta: Is the "load values on init" checkbox checked for both of these dialogs? No , "load values on Init" was not checked . so one issue is resolved . It does load value when that checkbox is checked. But the values are not auto-refreshed in second dropdown when some value is selected in first dropdown. Ok, I think that second issue I reproduced the other day and wasn't related to any BZ before. I think this PR should fix it: https://github.com/ManageIQ/manageiq/pull/7696 I think I was incorrect again on that previous PR. *This* one should've be the fix: https://github.com/ManageIQ/manageiq/pull/7661. I think what was happening for you was that the first drop down was triggering the auto-refresh but it was happening simultaneously with the actual server update of that drop down. Going to mark this as POST for now since I can't reproduce on the latest. Fixed. verified in 5.6.0.4-beta2.3.20160421172650_719e256 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348 |