[Mono-bugs] [Bug 398274] TableLayoutSettingsTypeConverter fails reading (known) bad data

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 10 04:19:24 EDT 2008


User andyhume32 at yahoo.co.uk added comment

--- Comment #4 from Andy Hume <andyhume32 at yahoo.co.uk>  2008-06-10 02:19:24 MDT ---
Created an attachment (id=221172)
 --> (https://bugzilla.novell.com/attachment.cgi?id=221172)
Patch to tests and implementation

I had left two bugs marked NotWorking, one by mistake.  When enabled it shows
that when the current thread culture is one with comma decimal point, then bad
values are used.  Since float.Parse("12.5") in de-DE gives 125 -- dot is
thousands separator!

Patch attached.  Changes all float ToString/TryParse to use InvariantCulture. 
That's correct since creating XML content.

Test patch enables tests and expects new behaviour.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list