3 Replies Latest reply on Jun 25, 2008 4:01 AM by porcherg

    some bugs with ActivityInstances

    porcherg Novice

      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