You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2013/09/02 01:16:28 UTC

[2/2] git commit: ODE-1004: Rethrown fault data must be immutable.

ODE-1004: Rethrown fault data must be immutable.


Project: http://git-wip-us.apache.org/repos/asf/ode/repo
Commit: http://git-wip-us.apache.org/repos/asf/ode/commit/a8a1333e
Tree: http://git-wip-us.apache.org/repos/asf/ode/tree/a8a1333e
Diff: http://git-wip-us.apache.org/repos/asf/ode/diff/a8a1333e

Branch: refs/heads/master
Commit: a8a1333eef92dbfbcc1f92cc08f7368b2053dc5a
Parents: b09ea8a
Author: Tammo van Lessen <tv...@gmail.com>
Authored: Mon Sep 2 01:15:14 2013 +0200
Committer: Tammo van Lessen <tv...@gmail.com>
Committed: Mon Sep 2 01:15:48 2013 +0200

----------------------------------------------------------------------
 bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ode/blob/a8a1333e/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java
----------------------------------------------------------------------
diff --git a/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java b/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java
index ed36a6c..64629b6 100644
--- a/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java
+++ b/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/SCOPE.java
@@ -353,7 +353,7 @@ class SCOPE extends ACTIVITY {
                         if (catchBlock.faultVariable != null) {
                             try {
                                 VariableInstance vinst =  faultHandlerScopeFrame.resolve(catchBlock.faultVariable);
-                                initializeVariable(vinst, _fault.getFaultMessage());
+                                initializeVariable(vinst, _fault.getFaultMessage().cloneNode(true));
 
                                 // Generating event
                                 VariableModificationEvent se = new VariableModificationEvent(vinst.declaration.name);