Bug 1581387
Summary: | Dynamic dropdown doesn't refresh correctly | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> | ||||||
Component: | Automate | Assignee: | eclarizi | ||||||
Status: | CLOSED ERRATA | QA Contact: | Tasos Papaioannou <tpapaioa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5.8.0 | CC: | cpelland, eclarizi, jprause, mkanoor, obarenbo, simaishi, smallamp, sshveta, tfitzger, tpapaioa | ||||||
Target Milestone: | GA | Keywords: | ZStream | ||||||
Target Release: | 5.8.4 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 5.8.4.4 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | 1574668 | Environment: | |||||||
Last Closed: | 2018-06-25 14:20:46 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | CFME Core | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | 1574668 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Comment 2
Tina Fitzgerald
2018-05-23 19:30:03 UTC
Fixed in master.20180525014609_98ef65d. So, I'm pretty sure that I have the necessary fix ready to go here: https://github.com/ManageIQ/manageiq-ui-classic/pull/4020 (it seems simple enough that the javascript refresh call is just being called too late). In an example dialog I whipped up, it appears that when I change the first drop-down, the second responds properly, but I'm unable to import the datastore and dialog that was provided in the original BZ. Do we know if the customer has a valid 5.8 dialog they can reproduce this issue with that I can test with to ensure I didn't oversimplify my dialog? New commit detected on ManageIQ/manageiq-ui-classic/fine: https://github.com/ManageIQ/manageiq-ui-classic/commit/814b391962ed07ed86117f004dc133760ca48f31 commit 814b391962ed07ed86117f004dc133760ca48f31 Author: Erik Clarizio <eclarizio> AuthorDate: Fri Jun 1 02:56:33 2018 -0400 Commit: Erik Clarizio <eclarizio> CommitDate: Fri Jun 1 02:56:33 2018 -0400 Ensure dropdown gets selectpicker refreshed after values set https://bugzilla.redhat.com/show_bug.cgi?id=1581387 app/assets/javascripts/dialog_field_refresh.js | 2 +- spec/javascripts/dialog_field_refresh_spec.js | 6 + 2 files changed, 7 insertions(+), 1 deletion(-) Created attachment 1447538 [details]
datastore
Created attachment 1447539 [details]
dialog
I've attached datastore and dialog export files for 5.8. I was able to get the dynamic "network" dropdown's auto-refresh working on 5.8.4.2 and 5.8.4.3 if I have both of these options selected: tenant: Auto Refresh other fields when modified network: Auto refresh Verified. 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/RHSA-2018:1972 |