Description of problem: When editing multiple dynamic element entry points in a dialog once the entry point is selected for one item, going to the next item unable to select the entry point as it is already selected in UI and apply is grayed out. Version-Release number of selected component (if applicable): 5.8.2 How reproducible: Highly Steps to Reproduce: 1. Select dynamic element 2. Select new entry point 3. Hit apply 4. Select another dynamic element 5. Attempt to select the same entry point, it will already be selected, and apply will be grayed out 6. Select another entry point then the original intended entry point and you can hit apply Actual results: New entry point selected in previous element cached, shows incorrect selection, and unable to select and hit apply for next element. Expected results: Allow to select new entry point Additional info:
Linked Support Case to this BZ.
This does not appear to be an issue in the new editor. Shveta, can you test on 5.9.z and verify my findings?
Not an issue in 5.9.0.22.20180221205805_f93a675
https://github.com/ManageIQ/manageiq-ui-classic/pull/3766
New commit detected on ManageIQ/manageiq-ui-classic/fine: https://github.com/ManageIQ/manageiq-ui-classic/commit/6cb8286aa4a3258e0d5472006f1d7f7ab09297a1 commit 6cb8286aa4a3258e0d5472006f1d7f7ab09297a1 Author: Harpreet Kataria <hkataria> AuthorDate: Thu Apr 12 14:55:37 2018 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Thu Apr 12 14:55:37 2018 -0400 Reset field_entry_point when new field is added. This fixes an issue, when adding new field and setting that to be a dynamic field it was showing pre-filled value in entry point text box from the previous field and was not enabling "Apply" button on the entry point dialog pop up. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1532272 app/controllers/miq_ae_customization_controller/dialogs.rb | 1 + 1 file changed, 1 insertion(+)
Created attachment 1434508 [details] Dynamic path This is still not fixed in 5.8.4.2.20180424224202_be9b69f. Appliance : https://10.8.199.206/ Edit dialog :dynamic_refresh. Edit location entry point .Select Location in path. Now edit Peek and click on entry point . Location will be selected and Apply is greyed out . If you want to select the same path "location" again . Click on any other entry point like "peek" and then location again and now the "Apply " button is enabled.
Created attachment 1434509 [details] path
New commit detected on ManageIQ/manageiq-ui-classic/fine: https://github.com/ManageIQ/manageiq-ui-classic/commit/35ff6558614af2fdea8935149da0eb15ccd22162 commit 35ff6558614af2fdea8935149da0eb15ccd22162 Author: Harpreet Kataria <hkataria> AuthorDate: Fri May 11 17:23:12 2018 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Fri May 11 17:23:12 2018 -0400 Follow up fix to address another condition Original fix was made in https://github.com/ManageIQ/manageiq-ui-classic/pull/3766 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1532272 app/controllers/miq_ae_customization_controller/dialogs.rb | 1 + 1 file changed, 1 insertion(+)
Fixed in 5.8.4.3.20180515170411_29cc195. No path is selected in entry point by default now.
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