svn commit: r1356707 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java

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

svn commit: r1356707 - /ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java

adrianc
Author: adrianc
Date: Tue Jul  3 12:59:17 2012
New Revision: 1356707

URL: http://svn.apache.org/viewvc?rev=1356707&view=rev
Log:
SimpleMethod.java bug fix - make sure the exec method always returns a non-null result.

Modified:
    ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java

Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java?rev=1356707&r1=1356706&r2=1356707&view=diff
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java Tue Jul  3 12:59:17 2012
@@ -549,7 +549,7 @@ public final class SimpleMethod extends
                 }
             }
             methodContext.putResult(ModelService.RESPONSE_MESSAGE, response);
-            returnValue = null;
+            returnValue = response;
         }
         // decide whether or not to commit based on the response message, ie only rollback if error is returned and not finished
         boolean doCommit = true;