Bug 1176281

Summary: UI no longer warns the user when leaving an edit session with changes by clicking on navigation tabs
Product: Red Hat CloudForms Management Engine Reporter: Dan Clarizio <dclarizi>
Component: UI - OPSAssignee: Dan Clarizio <dclarizi>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact:
Priority: high    
Version: 5.3.0CC: dajohnso, jhardy, jprause, mfeifer, nachandr, obarenbo, xlecauch
Target Milestone: GAKeywords: ZStream
Target Release: 5.3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.3.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1176280 Environment:
Last Closed: 2015-02-25 16:11:55 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: 1176280    
Bug Blocks:    

Description Dan Clarizio 2014-12-19 23:43:03 UTC
+++ This bug was initially created as a clone of Bug #1176280 +++

Description of problem:
When in an active edit and user has made changes, clicking on a navigation tab no longer warns the user that he will lose his changes.

Version-Release number of selected component (if applicable):
5.3.1

How reproducible:
Open an edit, make a change, click on a different nav tab

Actual results:
UI switches to that tab

Expected results:
UI should put up a warning box allowing the user to cancel or proceed

Additional info:
Introduced with this commit:
06c348f Eric Winchell at 10/2/13 10:40 AM (committed at 10/7/13 12:02 PM) Update navigation bar with dropdown hover state

Comment 2 CFME Bot 2014-12-22 17:41:00 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/fcf7ea023d0945d936108e05d057e89c5e04158e

commit fcf7ea023d0945d936108e05d057e89c5e04158e
Author:     Dan Clarizio <dclarizi@redh>
AuthorDate: Fri Dec 19 15:51:32 2014 -0800
Commit:     Dan Clarizio <dclarizi>
CommitDate: Fri Dec 19 15:52:41 2014 -0800

    Add miqCheckForChanges calls back into navigation tab links
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1176280
    https://bugzilla.redhat.com/show_bug.cgi?id=1176281

 .../views/layouts/_page_header_navbar.html.haml    | 174 ++++++++++++++-------
 1 file changed, 116 insertions(+), 58 deletions(-)

Comment 3 CFME Bot 2014-12-22 18:36:01 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=dd32227662f606ae982354dc78b0cad307354980

commit dd32227662f606ae982354dc78b0cad307354980
Author:     Dan Clarizio <dclarizi@redh>
AuthorDate: Mon Dec 22 10:30:58 2014 -0800
Commit:     Dan Clarizio <dclarizi>
CommitDate: Mon Dec 22 10:30:58 2014 -0800

    Add miqCheckForChanges calls back into navigation tab links
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1176280
    https://bugzilla.redhat.com/show_bug.cgi?id=1176281
    (cherry picked from commit fcf7ea0)

 .../views/layouts/_page_header_navbar.html.haml    | 200 ++++++++++++++-------
 1 file changed, 133 insertions(+), 67 deletions(-)

Comment 5 Nandini Chandra 2015-01-30 21:10:19 UTC
Verified in 5.3.3

Comment 7 errata-xmlrpc 2015-02-25 16:11:55 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://rhn.redhat.com/errata/RHBA-2015-0261.html