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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 8 06:09:48 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=398274

User andyhume32 at yahoo.co.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=398274#c2


Andy Hume <andyhume32 at yahoo.co.uk> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
 Attachment #220872|0                                               |1
        is obsolete|                                                |




--- Comment #2 from Andy Hume <andyhume32 at yahoo.co.uk>  2008-06-08 04:09:46 MDT ---
Created an attachment (id=220897)
 --> (https://bugzilla.novell.com/attachment.cgi?id=220897)
New tests patch

New tests added.  Including equality checking for the settings type results. 
The new tests include ConvertTo and ConvertFrom checking called on a set of
test rows. 

Test cases 'D' & 'G' show that with extra commas Mono either crashes (odd
number of decimal percentages => odd length of Split() array), or uses the
wrong items for the wrong values -- using the fraction part of the
floating-point value for the SizeType etc etc.

They also show that MSFT (presumably with SP1) manages to read the whole
floating point value even when using a comma as the decimal marker.  Perhaps we
just need not to crash...


Hope the tests are in suitable format...


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