[Mono-bugs] [Bug 82285][Maj] New - [REGRESSION] Registering more then two user controls leads to InvalidCastExc.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 1 17:34:52 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by juraj at hotfeet.ch.

http://bugzilla.ximian.com/show_bug.cgi?id=82285

--- shadow/82285	2007-08-01 17:34:52.000000000 -0400
+++ shadow/82285.tmp.7732	2007-08-01 17:34:52.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 82285
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: FC6
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: juraj at hotfeet.ch               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [REGRESSION] Registering more then two user controls leads to InvalidCastExc.
+
+Use this test case:
+
+index.aspx:
+<%@ Page Language="C#" %>
+<% @Register Tagprefix="hf" tagname="Test1" src="Test1.ascx" %>
+<% @Register Tagprefix="hf" tagname="Test2" src="Test2.ascx" %>
+<% @Register Tagprefix="hf" tagname="Test3" src="Test3.ascx" %>
+
+Test1.ascx == Test3.ascx == Test3.ascx:
+<% @Control Language="C#" %>
+
+Request index.aspx and you'll get the exception. Remove one of the
+"@Register"s from index.aspx and everything works.
+
+Commit 83071 to System.Web.Compilation/AspComponentFoundry.cs is to blame.


More information about the mono-bugs mailing list