Red Hat Bugzilla – Bug 1283273
Service dialog dropdown list does not auto refresh other fields
Last modified: 2017-05-12 08:29:25 EDT
Description of problem: In my particular test I created two dynamic dropdown list in a service dialog. The first is a list of images, and the other is a list of operating systems. When the user selects an image, I want the os dropdown auto selects the corresponding type of the image. For the image dropdown the "Auto refresh other fields when modified" is checked, and for the os dropdown, the "Auto refresh" is checked. When the selection of the image list changes, the os list selection does not refresh. The debugging shows the automate method for the os list does not get called. The problem seems the image list does not trigger a refresh. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This should be fixed with this PR that went through: https://github.com/ManageIQ/manageiq/pull/5612
Disregard previous comment. The PR fixed this issue for when the refresh button is pressed, but not for when a new selection is made in the drop-down list.
https://github.com/ManageIQ/manageiq/pull/5843
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/305001c6d3c4d717a74155735439021194fb6ebf commit 305001c6d3c4d717a74155735439021194fb6ebf Author: Drew Bomhof <dbomhof@redhat.com> AuthorDate: Mon Dec 14 17:31:53 2015 -0500 Commit: Drew Bomhof <dbomhof@redhat.com> CommitDate: Tue Dec 15 14:10:23 2015 -0500 Service dialog dropdown list does not auto refresh other fields https://bugzilla.redhat.com/show_bug.cgi?id=1283273 created a new function to both initialize the select box and refresh it when an on change event occurs. app/assets/javascripts/dialog_field_refresh.js | 10 +++++ .../dialogs/_dialog_field_drop_down_list.html.haml | 4 +- spec/javascripts/dialog_field_refresh_spec.js | 44 ++++++++++++++++++++++ 3 files changed, 55 insertions(+), 3 deletions(-)
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=6d78e11a030ea91fbc67b74cc9b39ca1b88ebb1c commit 6d78e11a030ea91fbc67b74cc9b39ca1b88ebb1c Author: Drew Bomhof <dbomhof@redhat.com> AuthorDate: Mon Dec 14 17:31:53 2015 -0500 Commit: Drew Bomhof <dbomhof@redhat.com> CommitDate: Tue Dec 15 17:22:18 2015 -0500 Service dialog dropdown list does not auto refresh other fields https://bugzilla.redhat.com/show_bug.cgi?id=1283273 created a new function to both initialize the select box and refresh it when an on change event occurs. app/assets/javascripts/dialog_field_refresh.js | 10 +++++ .../dialogs/_dialog_field_drop_down_list.html.haml | 4 +- spec/javascripts/dialog_field_refresh_spec.js | 44 ++++++++++++++++++++++ 3 files changed, 55 insertions(+), 3 deletions(-)
I setup a similar set of fields and I can see the refresh is triggering. Going to move this to verified for 5.6.0.1 using https://10.16.7.174/
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