Author: mriou
Date: Thu Jul 26 17:44:20 2007
New Revision: 560041

URL: http://svn.apache.org/viewvc?view=rev&rev=560041
Log:
Second part of the patch :)

Modified:
    
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java

Modified: 
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java?view=diff&rev=560041&r1=560040&r2=560041
==============================================================================
--- 
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
 (original)
+++ 
incubator/ode/trunk/bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/AssignGenerator.java
 Thu Jul 26 17:44:20 2007
@@ -166,7 +166,7 @@
                 vref.variable = _context.resolveVariable(vv.getVariable());
                 if (vv.getPart() != null) {
                     vref.part = _context.resolvePart(vref.variable, 
vv.getPart());
-                    if (vv.getLocation() != null)
+                    if (vv.getLocation() != null && 
vv.getLocation().getExpression() != null)
                         vref.location = _context.compileExpr(vv.getLocation());
                 }
                 // TODO: check for irrelevant properties.


Reply via email to