[
http://jira.jboss.com/jira/browse/JBPM-288?page=all ]
Tom Baeyens updated JBPM-288:
-----------------------------
Fix Version/s: jBPM jPDL 3.2.2
Priority: Critical (was: Major)
Fork/Join and child token deactivation
--------------------------------------
Key: JBPM-288
URL:
http://jira.jboss.com/jira/browse/JBPM-288
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM 3.0
Environment: Any
Reporter: Lukasz Czekierda
Assigned To: Tom Baeyens
Priority: Critical
Fix For: jBPM jPDL 3.2.2
Attachments: processdefinition.xml, SimpleProcessTest.java
Join implementation has incorrectly/no implemented activation of finished child tokens.
They remain active till the end of the whole process. Example from junit test
(Wfp03SynchronizationTest.testSynchronizationFirstTokenFirst) works perfectly as long as
is unmodified. After adding a few bottom lines and changing a transition in join I get my
error. Token.end is called on children and the root token in the LAST state, when
finishing the entire process. When in stateX or stateY, the process still reports two
active child tokens.
---
"<process-definition>" +
" <start-state name='start'>" +
" <transition to='fork' />" +
" </start-state>" +
" <fork name='fork'>" +
" <transition name='first' to='one' />" +
" <transition name='second' to='two' />" +
" </fork>" +
" <state name='one'>" +
" <transition to='join' />" +
" </state>" +
" <state name='two'>" +
" <transition to='join' />" +
" </state>" +
" <join name='join'>" +
" <transition to='stateX' />" +
" </join>" +
" <state name='stateX'>" +
" <transition to='stateY' />" +
" </state>" +
" <state name='stateY'>" +
" <transition to='end' />" +
" </state>" +
" <end-state name='end' />" +
"</process-definition>"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira