/[Apache-SVN]
ViewVC logotype

Revision 1413318


Jump to revision: Previous Next
Author: jleroux
Date: Sun Nov 25 10:19:29 2012 UTC (11 years, 5 months ago)
Changed paths: 2
Log Message:
"Applied fix from trunk for revision: 1413307  " 
------------------------------------------------------------------------
r1413307 | jleroux | 2012-11-25 10:20:23 +0100 (dim., 25 nov. 2012) | 8 lines

A patch from Sergei Biletnikov "Remote services via XMLRpc ignore the locale which is passed as the service parameter, the default locale is used forever" https://issues.apache.org/jira/browse/OFBIZ-5083

This code replaces the possible locale from parameters by default locale.

// add the locale to the context
context.put("locale", Locale.getDefault());

The solution is simple: firstly check, if we have the locale as the parameter, if no, use the default locale.
------------------------------------------------------------------------


Changed paths

Path Details
Directoryofbiz/branches/release10.04/ modified , props changed
Directoryofbiz/branches/release10.04/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26