You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/09/19 00:30:53 UTC

[jira] [Commented] (THRIFT-2191) Fix charp JSONProtocol.ReadJSONDouble (specify InvariantCulture)

    [ https://issues.apache.org/jira/browse/THRIFT-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771322#comment-13771322 ] 

Hudson commented on THRIFT-2191:
--------------------------------

FAILURE: Integrated in Thrift #906 (See [https://builds.apache.org/job/Thrift/906/])
THRIFT-2191 Fix charp JSONProtocol.ReadJSONDouble (specify InvariantCulture) (jensg: rev d73aa078d021f8a0aea0c3a6725618127d698ff3)
* lib/csharp/src/Protocol/TJSONProtocol.cs

                
> Fix charp JSONProtocol.ReadJSONDouble (specify InvariantCulture)
> ----------------------------------------------------------------
>
>                 Key: THRIFT-2191
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2191
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Library
>    Affects Versions: 0.9.1
>         Environment: windows 7 (localized with russian language pack)
>            Reporter: Alexander Makarov
>             Fix For: 0.9.2
>
>         Attachments: THRIFT-2191-bugfix-csharp-json-read-double.patch
>
>
> I caught error on serialization from application working under localized (Russian) Windows. Cause Double.Parse wait a system decimal separator. I fixed JSONProtocol.ReadJSONDouble method, made Double.Parse call with explicit specify InvariantCulture in second parameter.
> I think my little fix is pretty clear for you. But if it's not, I would be glad to explain more details.
> Sincerely, Alexander Makarov.

--
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