Bug 1571835
Summary: | dialog with 2 dynamic dropdown that must refresh each other do not refresh in CF 4.6 (but they do in CF 4.5) | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Reartes Guillermo <greartes> | ||||||||||||||||||||||||
Component: | Automate | Assignee: | Tina Fitzgerald <tfitzger> | ||||||||||||||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> | ||||||||||||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||||||||||||
Priority: | high | ||||||||||||||||||||||||||
Version: | 5.9.0 | CC: | cpelland, greartes, jprause, mkanoor, obarenbo, tfitzger, wfitzger | ||||||||||||||||||||||||
Target Milestone: | GA | ||||||||||||||||||||||||||
Target Release: | 5.9.2 | ||||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||||
OS: | Linux | ||||||||||||||||||||||||||
Whiteboard: | |||||||||||||||||||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||
Last Closed: | 2018-05-01 12:53:43 UTC | Type: | Bug | ||||||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||||||
Attachments: |
|
Description
Reartes Guillermo
2018-04-25 13:39:35 UTC
Created attachment 1426674 [details]
datastore CF 4.5
Created attachment 1426675 [details]
datastore CF 4.6
Created attachment 1426678 [details]
dialog for CF 4.5
Created attachment 1426679 [details]
dialog for CF 4.6
Created attachment 1426680 [details]
screenshot CF 4.5 working
Created attachment 1426681 [details]
screenshot CF 4.6 not working
Created attachment 1426683 [details]
evm.log CF 4.5
I had to compress them due to its size (11M)
Created attachment 1426691 [details]
evm.log CF 4.6
Created attachment 1426692 [details]
automate.log CF 4.5
Created attachment 1426693 [details]
automate.log CF 4.6
This is a really good one to test dynamic refresh in working properly. I was able to reproduce this on 5.9.2.3 appliance. Works on 5.8.3.4. I had a problem importing the dialog for 4.6, was getting circular reference. I deleted the value for the 'dialog_field_responders:', imported and then manually added it to the dialog. This looks like a very simple version of the dialogs that are being used in BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1570165 Thanks John, I'm looking into it now. Created attachment 1427835 [details]
Dialog import circular reference error
Screen shot showing dialog import failure due to circular reference.
Hi Reartes, Your 4.6 dialog is invalid, due to a circular reference. The attachment in comment 15 shows the UI error displayed when trying to import your dialog. You wouldn't have known that that is an issue because the dialog editor in 4.6 wont prevent you from manually creating a circular reference. Can we close this ticket? Thanks, Tina Hi, The "invalid" dialog was generated with the dialog editor, so if there is something to fix on the dialog editor, i would NOT close the bug unless one can be sure that no invalid dialog (at least in relation to this issue) can be created via the dialog editor (otherwise people will keep opening BZs or Cases, etc.) But if the dialog editor will be fixed to not to permit the circular reference error, then yes. Just to be clear, i did not edit the dialog manually. I am also not sure under what conditions the dialog becomes "invalid". Thanks. Hi Reartes, The 5.9.1.2 dialog import will complain about a circular reference on import, but it will let you create a circular reference through the dialog editor. The 5.9.2 dialog import will complain about a circular reference on import, and the dialog editor will NOT let you save a dialog with a circular reference. The dialog is considered invalid if you have the "fields to refresh" value for each item point to the other item. For example, you have 2 fields: field1 and field2 field1 has a "fields to refresh" value of field2, and field2 has a "fields to refresh" value of field1. Can we close the ticket since the dialog editor has been updated to prevent the circular reference? Thanks, Tina Hi, It looks like it can. Thanks. The circular reference check was added here: https://github.com/ManageIQ/manageiq/pull/16918 |