https://bugzilla.novell.com/show_bug.cgi?id=362602
Summary: PropertyDescriptor.Converter tests, and problem with type name only Product: Mono: Class Libraries Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: System AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: --- Created an attachment (id=195317) --> (https://bugzilla.novell.com/attachment.cgi?id=195317) Unit-tests There appears to be only one unit-test of the TypeDescription / PropertyDescriptor.Converter behaviour (PropertyDescriptorTests.MissingTypeConverter -- a test of a failure case), so I've created some more, attached. All tests pass on MSFT. This was done in investigating bug BBBBBB. In general the functionality is shown to work correctly on Mono. However two issues are apparent, firstly bug 322464 is exposed. Secondly there seems to be a problem when the type is specified in the attribute as a string and the assembly name isn't included (but the type is in the local assembly). There are two workaround so the problem is not serious, one can use the overload that takes a Type, or pass the full assembly-qualified type name string. In more detail the TypeConverterAttribute can be initialised with a Type or a String. For the String form, in MSFT the Type.FullName value is sufficient, in Mono it appears that the Type.AssemblyQualifiedName is required. This MSFT behaviour is *implied* by MSDN. "The fully qualified name of the class to use for data conversion for the object this attribute is bound to." Where the properties of Type say: Type.FullName: "A string containing the fully qualified name of the Type, ..." Type.AssemblyQualifiedName: "The assembly-qualified name of the Type, ..." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs