[Mono-bugs] [Bug 78272][Maj] Changed - [2.0] ClassName attribute not working with mod-mono-server2

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 11 09:54:28 EDT 2006


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=78272

--- shadow/78272	2006-09-11 08:35:26.000000000 -0400
+++ shadow/78272.tmp.25185	2006-09-11 09:54:28.000000000 -0400
@@ -10,13 +10,13 @@
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: grendello at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
-Summary: [2.0] ClassName attribute not supported
+Summary: [2.0] ClassName attribute not working with mod-mono-server2
 
 According to http://msdn2.microsoft.com/en-us/library/d19c0t4b.aspx, the
 ASP.NET 2.0 controls keep supporting the ClassName attribute. The Mono
 parser throws the "Unknown attribute" error when it parses the attribute.
 
 ------- Additional Comments From juraj at hotfeet.ch  2006-09-11 08:33 -------
@@ -25,6 +25,15 @@
 throws the "Unknown attribute: ClassName" exception.
 
 ------- Additional Comments From juraj at hotfeet.ch  2006-09-11 08:34 -------
 Created an attachment (id=17642)
 test.zip - simple test case
 
+
+------- Additional Comments From juraj at hotfeet.ch  2006-09-11 09:54 -------
+The problem probably lies in "TemplateParser.cs", lines 458-507 (svn
+as of today). GetString("ClassName") is not called in the NET_2_0
+case, only in the #else-case.
+
+GetString("ClassName") removes the ClassName attribute. If it is not
+called, the last line in the calling method throws the expection as
+the "ClassName"-item is left in the "attr"-Hashtable.


More information about the mono-bugs mailing list