Red Hat Bugzilla – Bug 799867
Non-terminal EndNode does not generate left event
Last modified: 2012-06-20 13:24:20 EDT
Description of problem:
Triggered events (before, after) are not generated when an end node is marked as non terminal.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. add process event listener
2. start simple process with non-terminal end node
3. check for beforeNodeTriggered event
the one for non-terminal EndNode is missing
EndNode generates events as usual
The problem seems to be in org.jbpm.workflow.instance.node.EndNodeInstance in "else" branch on line 63.
Looked again and found out that only NodeLeftEvent is not fired (although it is fired for terminating EndNode).
pull request already merged into 5.2.x branch
Update status to ON_QA. Please verify them against ER6.