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:
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
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)
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.
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
*** Bug 1326657 has been marked as a duplicate of this bug. ***