Bug 1054779 - Incorrect Cancel button behavior on Content tab
Summary: Incorrect Cancel button behavior on Content tab
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Content
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: DR01
: JON 3.2.1
Assignee: Jirka Kremser
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-17 13:05 UTC by dsteigne
Modified: 2018-12-04 17:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-08 17:43:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.