Fedora Account System
Red Hat Associate
Red Hat Customer
Created attachment 1399975 [details] dialog Description of problem: Version-Release number of selected component (if applicable): 5.9.0.22.20180221205805_f93a675 How reproducible: Steps to Reproduce: 1. Import the dialog and domain attached. 2. Create a catalog item that uses this dialog. 3. Order service catalog. Select "Contract A" in Contract dropdown , location shows "Ohio and Alaska" . Select Contract B , Location does not change even after refresh . Location should display : " Florida and Oregon" as in below method. Actual results: Expected results: Additional info: Method ============= contract = $evm.root['dialog_contract'] locations = if contract == 'a' {'ak' => 'Alaska', 'oh' => 'Ohio' } else {'fl' => 'Florida', 'or' => 'Oregon'} end $evm.object['values'] = locations Appliance : https://10.8.197.128 Service catalog : generic.
Created attachment 1399976 [details] domain
I believe the root cause of this is the same as what is happening in https://bugzilla.redhat.com/show_bug.cgi?id=1548562 and https://bugzilla.redhat.com/show_bug.cgi?id=1548568. When you choose from the drop-down, that value isn't being propagated through, so when it runs through the automate method, it still thinks the contract is A. This is resolved by https://github.com/ManageIQ/ui-components/pull/258, which currently has two supporting PRs out to be backported: classic ui: https://github.com/ManageIQ/manageiq-ui-classic/pull/3451 service ui: https://github.com/ManageIQ/manageiq-ui-service/pull/1389
Fixed in 5.10.0.2.20180626170006_40dc459