Bug 799867 - Non-terminal EndNode does not generate left event
Summary: Non-terminal EndNode does not generate left event
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER6
: BRMS 5.3.0.GA
Assignee: Kris Verlaenen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-05 10:15 UTC by Tomas Schlosser
Modified: 2023-05-31 22:25 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas Schlosser 2012-03-05 10:15:43 UTC
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):
BRMS-5.3.0-ER4

How reproducible:
Every time

Steps to Reproduce:
1. add process event listener
2. start simple process with non-terminal end node
3. check for beforeNodeTriggered event
  
Actual results:
the one for non-terminal EndNode is missing

Expected results:
EndNode generates events as usual

Additional info:
The problem seems to be in org.jbpm.workflow.instance.node.EndNodeInstance in "else" branch on line 63.

Comment 1 Tomas Schlosser 2012-03-05 10:44:00 UTC
Looked again and found out that only NodeLeftEvent is not fired (although it is fired for terminating EndNode).

Comment 2 Maciej Swiderski 2012-03-23 10:43:04 UTC
pull request already merged into 5.2.x branch

Comment 3 Ryan Zhang 2012-04-23 07:39:42 UTC
Update status to ON_QA. Please verify them against ER6.


Note You need to log in before you can comment on or make changes to this bug.