-
Bug
-
Resolution: Done
-
Minor
-
jBPM 6.2.0.CR3
-
None
BoundaryEventHandler.writeNode() doesn't account into 'variableName' of BoundaryErrorEvent so JbpmBpmn2TestCase.buildAndDumpBPMN2Process() removes it.
So I cannot write a unit test to test variable mappings.
BEFORE:
<bpmn2:boundaryEvent id="BoundaryEvent_1" name="MyBoundaryErrorEvent" attachedToRef="SubProcess_1"> <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing> <bpmn2:dataOutput id="DataOutput_1" itemSubjectRef="ItemDefinition_3" name="Error_2_Output"/> <bpmn2:dataOutputAssociation id="DataOutputAssociation_1"> <bpmn2:sourceRef>DataOutput_1</bpmn2:sourceRef> <bpmn2:targetRef>var1</bpmn2:targetRef> </bpmn2:dataOutputAssociation> <bpmn2:outputSet id="OutputSet_1" name="Output Set 1"> <bpmn2:dataOutputRefs>DataOutput_1</bpmn2:dataOutputRefs> </bpmn2:outputSet> <bpmn2:errorEventDefinition id="ErrorEventDefinition_2" errorRef="Error_1"/> </bpmn2:boundaryEvent>
AFTER:
<boundaryEvent id="BoundaryEvent_1" name="MyBoundaryErrorEvent" attachedToRef="SubProcess_1" > <extensionElements> <tns:onExit-script scriptFormat="http://www.java.com/java"/> </extensionElements> <errorEventDefinition errorRef="Error_1" /> </boundaryEvent>