Bug 1328316 - Required fields in map-property does not prevent finishing the Resource Create Wizard
Summary: Required fields in map-property does not prevent finishing the Resource Creat...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: UI
Version: JON 3.3.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER01
: JON 3.3.6
Assignee: Ruben Vargas Palma
QA Contact: Matt Mahoney
URL:
Whiteboard:
: 1326657 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-19 05:03 UTC by Ruben Vargas Palma
Modified: 2017-06-21 20:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 15:31:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1519 0 normal SHIPPED_LIVE Critical: Red Hat JBoss Operations Network 3.3.6 update 2016-08-26 00:44:36 UTC

Description Ruben Vargas Palma 2016-04-19 05:03:28 UTC
Description of problem:

When a simple-property within a map-property has the attribute required="true" defined on the  rhq-plugin.xml descriptor, the wizard resource creator ignores it and let the user finish the creation of the resource.



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


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Ruben Vargas Palma 2016-06-17 23:39:27 UTC
commit bfbc8f39e2593984ef93b46c28a8e502acf57e8d                                                                                                                                                      
Merge: b5ab4f5 288930e                                                                                                                                                                               
Author: Michael Burman <yak>                                                                                                                                                                  
Date:   Fri Jun 17 18:28:35 2016 +0300                                                                                                                                                               
                                                                                                                                                                                                     
    Merge pull request #267 from rubenvp8510/Bug/1328316                                                                                                                                             
                                                                                                                                                                                                     
    Bug 1328316 - Required fields in map-property does not prevent finish…                                                                                                                           
                                                                                                                                                                                                     
commit 288930eaaacf2df149e2c6f29709a534dcd590ec                                                                                                                                                      
Author: Ruben Vargas <ruben.vp8510>                                                                                                                                                        
Date:   Wed Jun 8 22:57:05 2016 -0500                                                                                                                                                                

    Bug 1328316 - Required fields in map-property does not prevent finishing the Resource Create Wizard

Comment 5 Simeon Pinder 2016-07-07 08:22:46 UTC
Moving to ON_QA as available to test with the following build:
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=502442

Note: 	jon-server-patch-3.3.0.GA.zip maps to JON 3.3.6(jon-server-3.3.0.GA-update-06.zip)

Comment 6 Matt Mahoney 2016-07-13 19:01:59 UTC
Repro notes from rvargasp:

For EAP7

1) In JON UI go to Server - Top Level imports-> EAP7 standalone Servers -> EAP7 -> Subsystems -> Core -> logging -> Create Child -> File Handler ..

2) Set properties in Resource Create Wizard..

File Path property should be required for Finishing the Resource Create Wizard.

For EAP6

  - For EAP 6 is the same issue, same steps, except the Top Level imports will be an EAP6 server.

Expected behavior.

If you don't specify path , you shouldn't be able to finish the wizard.

Comment 8 errata-xmlrpc 2016-07-27 15:31:44 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/RHSA-2016-1519.html

Comment 9 Filip Brychta 2017-06-05 09:08:21 UTC
*** Bug 1326657 has been marked as a duplicate of this bug. ***


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