Author: adrianc
Date: Tue Jul 3 12:59:17 2012
New Revision: 1356707
URL:
http://svn.apache.org/viewvc?rev=1356707&view=revLog:
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;