Author: lektran
Date: Sat May 1 10:07:41 2010
New Revision: 939966
URL:
http://svn.apache.org/viewvc?rev=939966&view=revLog:
Fix problem where inlined simple map processors weren't being given the locale correctly, reported by Saad Hage on the user list
Modified:
ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallSimpleMapProcessor.java
Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallSimpleMapProcessor.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallSimpleMapProcessor.java?rev=939966&r1=939965&r2=939966&view=diff==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallSimpleMapProcessor.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/callops/CallSimpleMapProcessor.java Sat May 1 10:07:41 2010
@@ -100,9 +100,7 @@ public class CallSimpleMapProcessor exte
// run inlined map processor last so it can override the external map processor
if (inlineMapProcessor != null) {
- inlineMapProcessor.exec(inMap, outMap, messages,
- (methodContext.getRequest() != null ? methodContext.getRequest().getLocale() : null),
- methodContext.getLoader());
+ inlineMapProcessor.exec(inMap, outMap, messages, methodContext.getLocale(), methodContext.getLoader());
}
return true;