Bug 1460808

Summary: service dialog saving elements when switching elements - cancel only reverts current element
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, dajohnso, hkataria, jhardy, mpovolny, obarenbo, sshveta
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: service:dialog
Fixed In Version: 5.8.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1454428 Environment:
Last Closed: 2017-08-02 17:30:25 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: 1454428    
Bug Blocks:    

Comment 2 CFME Bot 2017-06-12 20:09:08 UTC
New commit detected on ManageIQ/manageiq-ui-classic/fine:
https://github.com/ManageIQ/manageiq-ui-classic/commit/4e18b58c10363a6df0acc299fd7d43d35afabae7

commit 4e18b58c10363a6df0acc299fd7d43d35afabae7
Author:     Martin Povolny <mpovolny>
AuthorDate: Wed Jun 7 17:15:55 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Jun 12 16:03:16 2017 -0400

    Merge pull request #1445 from h-kataria/dialog_editor_fix
    
    Rollback any changes to Dialog object when validating dialog elements.
    (cherry picked from commit 61d74f88b7fed728be73951dbfcd355cda0695ad)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1460808

 .../miq_ae_customization_controller/dialogs.rb     |  1 +
 .../dialogs_spec.rb                                | 27 ++++++++++++++++++----
 2 files changed, 23 insertions(+), 5 deletions(-)

Comment 3 Shveta 2017-06-28 15:06:01 UTC
Fixed in 5.8.1.0.20170623170756_3ed4411

Comment 5 errata-xmlrpc 2017-08-02 17:30:25 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/RHSA-2017:1758