Bug 1553486

Summary: Correct values are not loaded on dynamic refresh
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: eclarizi
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: brant.evans, cpelland, dluong, eclarizi, fdewaley, gmccullo, greartes, hkataria, jcutter, kmorey, lavenel, mkanoor, mpovolny, obarenbo, smallamp, sshveta, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: service
Fixed In Version: 5.9.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1548523 Environment:
Last Closed: 2018-04-11 17:46:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1548523    
Bug Blocks:    
Attachments:
Description Flags
Wrong location values none

Comment 2 Chris Pelland 2018-03-13 15:32:28 UTC
*** Bug 1553221 has been marked as a duplicate of this bug. ***

Comment 3 Shveta 2018-03-16 16:46:02 UTC
Appliance : https://10.8.198.209.
Service : vmware .
Order service .

Select Contract B , Location changes to Florida , What's inside shows (b, ak) .
Refresh What's Inside (values change to correct values).
Now select "Contract A" What's inside shows wrong values .
Toggle between contract A and B . What's inside just shows the correct contract (a or b) but location is wrong .

Comment 4 Shveta 2018-03-16 16:46:56 UTC
Created attachment 1408931 [details]
Wrong location values

Comment 5 eclarizi 2018-03-16 17:50:18 UTC
The way the dialog is currently set up, I do not believe is a bug. The issue is that the "What's inside" field and the "Location" field are both set as fields to refresh from the "Contract" field, which means they will update simultaneously, when in reality the "What's inside" field needs to wait until the "Location" field is finished updating.

The fix for this is actually updating the dialog itself to have the "Contract" fields to refresh only set to "Location", and then set the "Location" fields to refresh to "What's inside".

Please re-test with this configuration and let me know if you run into any other issues.

Comment 6 Shveta 2018-03-16 18:06:43 UTC
Works fine with above modification in dialog .

Comment 10 eclarizi 2018-03-27 00:17:28 UTC
You're right, that's a bit odd. I looked into it a bit and it does appear to be another bug unrelated to this one. Can you create a new BZ for it please?

Comment 11 errata-xmlrpc 2018-04-11 17:46:34 UTC
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-2018:0556