You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2012/05/03 17:01:02 UTC

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

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;
                 }
             }