]
Brian Stansberry updated WFLY-13826:
------------------------------------
Summary: EJB3SubsystemXMLPersister may omit the 'session-bean' wrapper element
(was: EJB3SubsystemXMLPersister)
EJB3SubsystemXMLPersister may omit the 'session-bean' wrapper
element
---------------------------------------------------------------------
Key: WFLY-13826
URL:
https://issues.redhat.com/browse/WFLY-13826
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 20.0.1.Final
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Minor
EJB3SubsystemXMLPersister checks the subsystem ModelNode for any of 3 child nodes and if
present writes the start of a 'session-bean' element. Later it uses the same check
and writes the closing tag.
But in between it check for other child nodes and does writing assuming the
'session-bean' element has been started. But it may not have been, which results
in invalid xml.