Bug 750569

Summary: System Template: Using "System Templates" Home breadcrumb after saving template still prompts to save, can cause UI confusion
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Mike McCune <mmccune>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: ehelms, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 20:54:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Corey Welton 2011-11-01 15:33:49 UTC
Description of problem:
After a user has added content to a system template and hit the 'save' button, hitting the 'home' icon on the system templates pane prompts user to save, noting there is (apparently??) unsaved content. This is already confusing enough, but  hitting "Discard Changes" then shows "Saving System Template" on UI. 

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


How reproducible:


Steps to Reproduce:
1.  Add RH content via cert
2.  Create a new system template, "test system template"
3.  Content Management > System Templates >     Red Hat Enterprise Linux Server > Red Hat Enterprise Linux Server Package Groups
4.  Choose your $template from the right pane
5.  Navigate to $template > Package Groups
6.  From left pane, Add a few package groups to the system, i.e., Base, Chinese support, Compatability Libraries, assuringthe groups you just added show up in the template.
7.  Hit the Save button for system template; note it grays out.
8.  Hit the Home icon in the system templates pane breadcrumb div



Actual results:

* Dialog box appears asking user to save unsaved changes.
* Hitting "Discard Changes" nonetheless shows "Saving System Template " on the screen

Expected results:
* Shouldn't see this in the first place if there's nothing new to save
* Discard shouldn't be indicating that we're saving anything

Additional info:
In some cases I saw the UI kind of lockup and get confused after doing this, but it may just be due to the massive amount of data in the RH cert.

Comment 1 Mike McCune 2012-01-26 19:38:23 UTC
mass move to CFSE product.

Comment 2 Eric Helms 2012-02-17 19:12:52 UTC
This appears to have been fixed at some point as of: 

38df03e14302f773cf09445bcbc6593d7602298a

Comment 3 Corey Welton 2012-02-17 21:50:02 UTC
QA Verified.