Author: adrianc
Date: Wed Jan 9 08:32:21 2008
New Revision: 610440
URL:
http://svn.apache.org/viewvc?rev=610440&view=revLog:
Fixed problem with simple method call-service operation, reported by Chris Juettner on the dev mailing list.
Modified:
ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java
Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java?rev=610440&r1=610439&r2=610440&view=diff==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallService.java Wed Jan 9 08:32:21 2008
@@ -222,10 +222,10 @@
if (locale != null) {
inMap.put("locale", locale);
}
-
+
try {
if (UtilValidate.isEmpty(this.requireNewTransactionStr) && this.transactionTimeout < 0) {
- result = methodContext.getDispatcher().runSync(this.serviceName, inMap);
+ result = methodContext.getDispatcher().runSync(serviceName, inMap);
} else {
ModelService modelService = methodContext.getDispatcher().getDispatchContext().getModelService(serviceName);
boolean requireNewTransaction = modelService.requireNewTransaction;
@@ -236,7 +236,7 @@
if (this.transactionTimeout >= 0) {
timeout = this.transactionTimeout;
}
- result = methodContext.getDispatcher().runSync(this.serviceName, inMap, timeout, requireNewTransaction);
+ result = methodContext.getDispatcher().runSync(serviceName, inMap, timeout, requireNewTransaction);
}
} catch (GenericServiceException e) {
Debug.logError(e, module);