[jboss-jira] [JBoss JIRA] Commented: (JBPM-288) Fork/Join and child token deactivation
Benjamin Madsen (JIRA)
jira-events at lists.jboss.org
Thu Aug 30 23:55:19 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-288?page=comments#action_12374712 ]
Benjamin Madsen commented on JBPM-288:
--------------------------------------
This seems to be a fairly old issue, however it is not fixed yet in the core. Has there been any progress on this issue other than patching it ourselves? Otherwise, is there a way around the problem that doesn't require patching the codebase?
> 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
> 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
More information about the jboss-jira
mailing list