Bug 1328316

Summary: Required fields in map-property does not prevent finishing the Resource Create Wizard
Product: [JBoss] JBoss Operations Network Reporter: Ruben Vargas Palma <rvargasp>
Component: UIAssignee: Ruben Vargas Palma <rvargasp>
Status: CLOSED ERRATA QA Contact: Matt Mahoney <mmahoney>
Severity: medium Docs Contact:
Priority: medium    
Version: JON 3.3.5CC: fbrychta, loleary, mmahoney, rvargasp, spinder, vprusa
Target Milestone: ER01Keywords: Triaged
Target Release: JON 3.3.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 15:31:44 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:

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. ***