[jbpm-issues] [JBoss JIRA] Commented: (JBPM-2749) Problem with fork/join using swimlane
Ronald van Kuijk (JIRA)
jira-events at lists.jboss.org
Wed Jan 13 14:56:30 EST 2010
[ https://jira.jboss.org/jira/browse/JBPM-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12505299#action_12505299 ]
Ronald van Kuijk commented on JBPM-2749:
----------------------------------------
Thanks for the addition of the java code. It really plays an important role HOW things are done in the api. I still have a remark though. It is not a unit test (although everything is embedded, thanks) the JbpmTestCase class does a lot of these things for you. So you can make even less mistakes ;-). Have a look:
http://fisheye.jboss.org/browse/JbpmSvn/jbpm4/trunk/modules/test-db/src/test/java/org/jbpm/test/activities/ForkJoinInSameTransactionTest.java
I initially get the same error as you do on hsqldb. So I'll see what causes this. Might be a user error or a bug.
> Problem with fork/join using swimlane
> -------------------------------------
>
> Key: JBPM-2749
> URL: https://jira.jboss.org/jira/browse/JBPM-2749
> Project: jBPM
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Runtime Engine
> Affects Versions: jBPM 4.3, jBPM 4.2
> Environment: Windows XP DataBase ORACLE 10G
> Reporter: Andrey Timofeev
> Attachments: JoinSwimlane.java, log.txt, testError.jpdl.xml
>
>
> INFO: exception while executing command org.jbpm.pvm.internal.cmd.CompositeCmd at 1175881
> org.hibernate.exception.ConstraintViolationException: could not delete: [org.jbpm.pvm.internal.task.SwimlaneImpl#280142]
> <?xml version="1.0" encoding="UTF-8"?>
> <process name="test" xmlns="http://jbpm.org/4.0/jpdl">
>
> <swimlane candidate-groups="A" name="A"/>
> <swimlane candidate-groups="B" name="B"/>
>
> <start name="start">
> <transition to="task1A"/>
> </start>
> <task name="task1A" swimlane="A">
> <transition to="task1B"/>
> </task>
> <task name="task1B" swimlane="B">
> <transition to="fork"/>
> </task>
> <fork name="fork">
> <transition to="task2A"/>
> <transition to="task2B"/>
> </fork>
> <task name="task2A" swimlane="A">
> <transition to="join"/>
> </task>
> <task name="task2B" swimlane="B">
> <transition to="join"/>
> </task>
> <join name="join">
> <transition to="end"/>
> </join>
> <end name="end"/>
> </process>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbpm-issues
mailing list