You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/05/26 20:51:18 UTC
svn commit: r541927 -
/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java
Author: jaz
Date: Sat May 26 11:51:18 2007
New Revision: 541927
URL: http://svn.apache.org/viewvc?view=rev&rev=541927
Log:
fixed to allow events to return 'null'
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?view=diff&rev=541927&r1=541926&r2=541927
==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java Sat May 26 11:51:18 2007
@@ -616,6 +616,8 @@
Debug.logInfo("No response code string or errors found, assuming success; returning code [" + defaultSuccessCode + "]", module);
response = defaultSuccessCode;
}
+ } else if ("null".equalsIgnoreCase(response)) {
+ response = null;
}
returnValue = response;
} else if (methodContext.getMethodType() == MethodContext.SERVICE) {