[ 
https://issues.apache.org/jira/browse/OFBIZ-5083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergei Biletnikov updated OFBIZ-5083:
-------------------------------------

    Description: 
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.

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

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


    
> Remote services via XMLRpc ignore the locale which is passed as the service 
> parameter, the default locale is used forever
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-5083
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5083
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 10.04, Release 10.04, Release Branch 11.04
>            Reporter: Sergei Biletnikov
>              Labels: patch
>         Attachments: OFBiz-5083_Locale_Parameter_via_XMLRpc.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to