[Mono-bugs] [Bug 681480] New: TypeConverterAttribute is not checked

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 22 02:36:38 EDT 2011



           Summary: TypeConverterAttribute is not checked
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: stevens+novell at ischyrus.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=420616)
 --> (http://bugzilla.novell.com/attachment.cgi?id=420616)
Example of issue

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.151 Safari/534.16

A property can be decorated with the TypeConverterAttribute which will provide
a default converter for the property. Either this functionality isn't present
in mono or there is something unique about my scenario.

Attached is a repro.

Reproducible: Always

Steps to Reproduce:
1. Look inside TypeOtherAsesmbly.cs at the Values property.
2. Observe a converter is mapped to the Values property
3. Look at CurrentVersion.xml and how the list of uints are provded in the
format "1, 2, 3"
4. Run the application

(MonoDevelop gets stuck on this exception about half the time.)
Actual Results:  

Expected Results:  
The converter specified by the attribute should be used.

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