[Mono-bugs] [Bug 63084][Nor] New - Bug in implementation of InnerDefaultProperty PersistenceMode

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 14 Aug 2004 16:10:23 -0400 (EDT)

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 gert.driesen@pandora.be.


--- shadow/63084	2004-08-14 16:10:23.000000000 -0400
+++ shadow/63084.tmp.21798	2004-08-14 16:10:23.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 63084
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Bug in implementation of InnerDefaultProperty PersistenceMode
+When parsing a control with a property that has PersistenceMode set to 
+InnerDefaultProperty, Mono does not handle this correctly and seems to 
+parse the nested elements as properties of the control instead. 
+Disclaimer: I'm not familiar with the System.Web internals, so I may be 
+way off here :-)
+Note : I did not create a repro myself, but instead I copied a fragment 
+of a aspx page from the open-source forms project 
+http://www.communityserver.org/, which uses the FreeTextBox control. I'm 
+sure you'll the result once the bug is fixed ;-)
+When you browse to WebForm1.aspx of the attached repro, you'll get the 
+following error :
+Property FTB:ParagraphMenu not found in type FreeTextBoxControls.Toolbar.
+The offending aspsx fragment is :
+<FTB:FreeTextBox ....>
+  <Toolbars>
+    <FTB:Toolbar runat="server">
+	<FTB:ParagraphMenu runat="server" />
+	<FTB:FontSizesMenu runat="server" />
+        ....
+    </FTB:Toolbar>				
+  </Toolbars>