[jira] [Created] (OFBIZ-5083) Remote services via XMLRpc ignore the locale which is passed as the service parameter, the default locale is used forever

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-5083) Remote services via XMLRpc ignore the locale which is passed as the service parameter, the default locale is used forever

Nicolas Malin (Jira)
Sergei Biletnikov created OFBIZ-5083:
----------------------------------------

             Summary: 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 10.04, Release Branch 10.04, Release Branch 11.04
            Reporter: Sergei Biletnikov


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

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


--
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 | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5083) Remote services via XMLRpc ignore the locale which is passed as the service parameter, the default locale is used forever

Nicolas Malin (Jira)

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

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

    Attachment: OFBiz-5083_Locale_Parameter_via_XMLRpc.patch

Patch
               

> 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());

--
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 | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5083) Remote services via XMLRpc ignore the locale which is passed as the service parameter, the default locale is used forever

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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 | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-5083) Remote services via XMLRpc ignore the locale which is passed as the service parameter, the default locale is used forever

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux closed OFBIZ-5083.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 12.04
                   SVN trunk
                   Release Branch 11.04
                   Release Branch 10.04
         Assignee: Jacques Le Roux

Thanks Sergei,

Your patch is in
trunk r1413307  
R12.04 r1413308
R11.04 r1413310
R10.04 r1413318



               

> 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
>            Assignee: Jacques Le Roux
>              Labels: patch
>             Fix For: Release Branch 10.04, Release Branch 11.04, SVN trunk, Release Branch 12.04
>
>         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