tl24 / jsonexserializer

Automatically exported from code.google.com/p/jsonexserializer
1 stars 1 forks source link

Fail to deserialize nullable double with culture fr-FR #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a class with a dooble? attribute
2. Create an instance with the value set to 1.1 and Serialize it
3. Set culture to fr-FR
4. Deserialize the object
5. You get an exception : "1.1" is an invalid format

What is the expected output? What do you see instead?
No Exception

What version of the product are you using? On what operating system?
r278

Please provide any additional information below.
My environment has default culture set to fr-FR so I had troubles running unit 
tests.
I made a patch(see attachment) that:
- Fixes unit tests for culture fr-FR (hopefully other cultures too)
- Test my double? issue
- Fix it

Original issue reported on code.google.com by teste...@gmail.com on 9 Jun 2011 at 11:40

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r279.

Original comment by elliott....@gmail.com on 10 Jun 2011 at 3:08

GoogleCodeExporter commented 9 years ago
Thanks for the patch.  I applied it and your tests passed.

Original comment by elliott....@gmail.com on 10 Jun 2011 at 3:11