svn commit: r1333492 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1333492 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java

adrianc
Author: adrianc
Date: Thu May  3 15:01:01 2012
New Revision: 1333492

URL: http://svn.apache.org/viewvc?rev=1333492&view=rev
Log:
Minor code change in Mini-language <set> element. No Functional change.

Modified:
    ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java

Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java?rev=1333492&r1=1333491&r2=1333492&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java Thu May  3 15:01:01 2012
@@ -169,7 +169,7 @@ public final class SetOperation extends
                 } catch (GeneralException e) {
                     String errMsg = "Could not convert field value for the field: [" + this.fieldFma.toString() + "] to the [" + this.type + "] type for the value [" + newValue + "]: " + e.toString();
                     Debug.logWarning(e, errMsg, module);
-                    methodContext.setErrorReturn(errMsg, simpleMethod);
+                    addErrorMessage(methodContext, errMsg);
                     return false;
                 }
             }