Bug 1396167

Summary: service dialog refreshes every time a dropdown item is selected
Product: Red Hat CloudForms Management Engine Reporter: Josh Carter <jocarter>
Component: UI - OPSAssignee: eclarizi
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: cpelland, eclarizi, hkataria, jhardy, mpovolny, nansari, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1397163 1404403 (view as bug list) Environment:
Last Closed: 2017-06-12 16:14:05 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:
Bug Depends On:    
Bug Blocks: 1397163, 1404403    
Attachments:
Description Flags
Hotfix none

Comment 2 eclarizi 2016-11-17 17:03:41 UTC
Created attachment 1221601 [details]
Hotfix

There is only one file in this hotfix, app/assets/javascripts/dialog_field_refresh.js. Since it's a js file, this means that they will need to recompile their assets after the file has been replaced.

Comment 4 CFME Bot 2016-11-17 19:41:21 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/76229c91f04b446cc05e0f16aaa881de80e9ce82

commit 76229c91f04b446cc05e0f16aaa881de80e9ce82
Author:     Erik Clarizio <eclarizi>
AuthorDate: Thu Nov 17 08:45:41 2016 -0800
Commit:     Erik Clarizio <eclarizi>
CommitDate: Thu Nov 17 08:45:41 2016 -0800

    Force boolean values for triggerAutoRefresh
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1396167

 app/assets/javascripts/dialog_field_refresh.js |  4 +--
 spec/javascripts/dialog_field_refresh_spec.js  | 34 +++++++++++++++++++++-----
 2 files changed, 30 insertions(+), 8 deletions(-)

Comment 5 CFME Bot 2016-11-17 20:16:23 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/8ffcaef773ad1be5deb7dfa2c00dcf839335563a

commit 8ffcaef773ad1be5deb7dfa2c00dcf839335563a
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Nov 17 14:39:48 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Thu Nov 17 15:14:17 2016 -0500

    Merge pull request #12718 from eclarizio/BZ1396167
    
    Fix for service dialog refreshing every time a dropdown item is selected
    (cherry picked from commit 2cd0d32b042751d1af5c153ef1b554a47ca7f36c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1396167

 app/assets/javascripts/dialog_field_refresh.js |  4 +--
 spec/javascripts/dialog_field_refresh_spec.js  | 34 +++++++++++++++++++++-----
 2 files changed, 30 insertions(+), 8 deletions(-)

Comment 8 Niyaz Akhtar Ansari 2017-04-07 08:34:06 UTC
Verified in Version 5.8.0.9-alpha2.20170404195944_1d7ece4