incubator-agila-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r170175 - /incubator/agila/trunk/modules/bpel/engine/core/src/java/org/apache/agila/bpel/engine/priv/core/dynamic/impl/TerminateECImpl.java
Date Sat, 14 May 2005 22:03:59 GMT
Author: mriou
Date: Sat May 14 15:03:58 2005
New Revision: 170175

URL: http://svn.apache.org/viewcvs?rev=170175&view=rev
Log:
Bug fix. A Terminate execution instance was terminating itself but not its containers up to
the process instance.

Modified:
    incubator/agila/trunk/modules/bpel/engine/core/src/java/org/apache/agila/bpel/engine/priv/core/dynamic/impl/TerminateECImpl.java

Modified: incubator/agila/trunk/modules/bpel/engine/core/src/java/org/apache/agila/bpel/engine/priv/core/dynamic/impl/TerminateECImpl.java
URL: http://svn.apache.org/viewcvs/incubator/agila/trunk/modules/bpel/engine/core/src/java/org/apache/agila/bpel/engine/priv/core/dynamic/impl/TerminateECImpl.java?rev=170175&r1=170174&r2=170175&view=diff
==============================================================================
--- incubator/agila/trunk/modules/bpel/engine/core/src/java/org/apache/agila/bpel/engine/priv/core/dynamic/impl/TerminateECImpl.java
(original)
+++ incubator/agila/trunk/modules/bpel/engine/core/src/java/org/apache/agila/bpel/engine/priv/core/dynamic/impl/TerminateECImpl.java
Sat May 14 15:03:58 2005
@@ -27,13 +27,17 @@
         if (getInstance() == null) {
             StructuredEC container = getContainer();
             container.setStatus(ENDED_CANCELED);
+            PersistentDataAccess.update(container);
             while (container.getContainer() != null) {
                 container = container.getContainer();
                 container.setStatus(ENDED_CANCELED);
+                PersistentDataAccess.update(container);
             }
             ((ProcessInstanceImpl)container.getInstance()).setStatus(ProcessInstance.CANCELED);
+            PersistentDataAccess.update(container.getInstance());
         } else {
             ((ProcessInstanceImpl)getInstance()).setStatus(ProcessInstance.CANCELED);
+            PersistentDataAccess.update(getInstance());
         }
         this.setStatus(ENDED_CANCELED);
         PersistentDataAccess.update(this);



Mime
View raw message