http://bugzilla.novell.com/show_bug.cgi?id=546173
Summary: WebConvertor ignores named colors
Classification: Mono
Product: Mono: Class Libraries
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
using System;
using System.Drawing;
using System.Web.UI.WebControls;
class C
{
public static void Main ()
{
var conv = new WebColorConverter();
Console.WriteLine (conv.ConvertFrom(null, null, "captiontext"));
Console.WriteLine (((Color) conv.ConvertFrom(null, null,
"captiontext")).IsNamedColor);
}
}
When executed on Mono
Unhandled Exception: System.Web.HttpException: captiontext is not a valid color
value or name (make sure libgdiplus is installed)
at System.Web.UI.WebControls.WebColorConverter.ConvertFrom
(ITypeDescriptorContext context, System.Globalization.CultureInfo culture,
System.Object value) [0x00000]
at C.Main () [0x00000]
On .NET
Color [ActiveCaptionText]
True
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs