problems with activity instances
--------------------------------
Key: JBPM-1208
URL:
https://jira.jboss.org/jira/browse/JBPM-1208
Project: JBoss jBPM
Issue Type: Bug
Reporter: Tom Baeyens
Guillaume reported:
I tried to use a pvm with activityInstances in Orchestra and I had some problems in
ExecutionImpl:
- method createActivityInstanceScope: hasActivityInstances is set to true only if
activityInstances == null. But with hibernate, when a collection is fetched from the
database, it is never null, but it is an empty collection. As a result,
hasActivityInstances is never set to true.
- method destroyActivityInstanceScope: if the list of activityInstances is empty, it is
set to null. This creates an exception with hibernate.
- method destroyActivityInstanceScope: this methods modifies the node field of the
execution, this breaks the value of previousNode. (previous node is used in bpel
sequences)
Why is the execution node updated when an ActivityInstance is destroyed ?
regards,
Guillaume
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: