[Mono-bugs] [Bug 546173] New: WebConvertor ignores named colors
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Oct 12 09:45:35 EDT 2009
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: mhabersack at novell.com
ReportedBy: msafar at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list