Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1322594 - service :dialog: Dynamic dropdown values are not loaded in dropdown unless refresh button is pressed
service :dialog: Dynamic dropdown values are not loaded in dropdown unless re...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.5.0
Unspecified Unspecified
medium Severity medium
: GA
: 5.6.0
Assigned To: eclarizi
Shveta
service:dialog
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-30 16:19 EDT by Shveta
Modified: 2016-06-29 11:46 EDT (History)
8 users (show)

See Also:
Fixed In Version: 5.6.0.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 11:46:23 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
No values (52.83 KB, image/png)
2016-03-30 16:23 EDT, Shveta
no flags Details
one (56.97 KB, image/png)
2016-03-30 16:24 EDT, Shveta
no flags Details
two (56.72 KB, image/png)
2016-03-30 16:24 EDT, Shveta
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Shveta 2016-03-30 16:19:27 EDT
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Shveta 2016-03-30 16:21:27 EDT
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
Comment 2 Shveta 2016-03-30 16:23 EDT
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.
Comment 3 Shveta 2016-03-30 16:24 EDT
Created attachment 1141931 [details]
one
Comment 4 Shveta 2016-03-30 16:24 EDT
Created attachment 1141932 [details]
two
Comment 6 eclarizi 2016-03-31 11:39:10 EDT
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?
Comment 7 eclarizi 2016-04-04 12:33:01 EDT
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?
Comment 8 Shveta 2016-04-04 14:29:39 EDT
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.
Comment 9 eclarizi 2016-04-04 14:43:40 EDT
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
Comment 10 eclarizi 2016-04-19 11:16:10 EDT
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.
Comment 11 Shveta 2016-04-22 21:01:07 EDT
Fixed.
verified in 
5.6.0.4-beta2.3.20160421172650_719e256
Comment 13 errata-xmlrpc 2016-06-29 11:46:23 EDT
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

Note You need to log in before you can comment on or make changes to this bug.