Bug 1054779

Summary: Incorrect Cancel button behavior on Content tab
Product: [JBoss] JBoss Operations Network Reporter: dsteigne
Component: ContentAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: jkremser, loleary, mithomps
Target Milestone: DR01   
Target Release: JON 3.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-08 17:43:48 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:

Description dsteigne 2014-01-17 13:05:54 UTC
Description of problem:

Incorrect Cancel button behavior on Content tab, it's checking for values in required fields and shouldn't on a Cancel operation.

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

How reproducible:
Everytime

Steps to Reproduce:
1. Navigate to the Content tab of any resource.
2. Click "New" from the Menu
3. Click "Upload New Package"
4. Don't enter anything about the Package details
5. Click "Cancel"

Actual results:
You receive an error by the name property - "For property "uploadForm:packageName", a value is required." 

Expected results:
The operation is cancelled and you return to the main content screen.

Additional info:

Comment 1 Jirka Kremser 2014-02-11 13:45:33 UTC
branch:  master
link:    http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=d5fcaeb32
time:    2014-02-11 14:41:42 +0100
commit:  d5fcaeb3256c9cebf77d5921606796d14eca4e7d
author:  Jirka Kremser - jkremser
message: [BZ 1054779] - Incorrect Cancel button behavior on Content tab - adding
         attribute: immediate="true" to the cancel command button in
         order to process the command before the validation
         (http://stackoverflow.com/a/11244769/1594980)


Mike, could you please look at it and cherry-pick it to the release branch?

Comment 2 Mike Thompson 2014-02-11 22:21:42 UTC
This has been reviewed and committed to release branch


Author: Jirka Kremser <jkremser>
Date:   Tue Feb 11 14:41:42 2014 +0100

    [BZ 1054779] - Incorrect Cancel button behavior on Content tab - adding attribute: immediate="true" to the cancel command button in order to process the

    (cherry picked from commit d5fcaeb3256c9cebf77d5921606796d14eca4e7d)
    Signed-off-by: Mike Thompson <mithomps>

Comment 3 Simeon Pinder 2014-02-18 15:08:17 UTC
Moving to ON_QA as available for testing in the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=336752

Note: the installed version is still JON 3.2.0.GA by design and this represents part of the payload for JON 3.2.1 also known as cumulative patch 1 for 3.2.0.GA.  How this will be delivered to customers is still being discussed.

Comment 4 Mike Foley 2014-02-18 19:01:54 UTC
Verified JON 3.2.1 DR1

Comment 5 Mike Foley 2014-03-19 19:53:36 UTC
re-verified in JON 3.2 CP1

Comment 6 Mike Foley 2014-05-08 17:43:48 UTC
JON 3.2.1 released week of 5/5/2014