[Mono-bugs] [Bug 81236][Nor] New - Postback of dynamically loaded checkbox fails with exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 26 08:50:08 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 oskars.ozols at gmail.com.

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

--- shadow/81236	2007-03-26 07:50:08.000000000 -0500
+++ shadow/81236.tmp.17235	2007-03-26 07:50:08.000000000 -0500
@@ -0,0 +1,62 @@
+Bug#: 81236
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: SuSE 10.0
+Status: NEW   
+Resolution: 
+Severity: 080 Two weeks
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: oskars.ozols at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Postback of dynamically loaded checkbox fails with exception
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When checkbox (or checkboxlist) is dynamically loaded in page with at least
+one checked item and user unchecks all checked items postback fails
+
+
+Steps to reproduce the problem:
+1. open attached page
+2. uncheck checkbox
+3. press post
+
+Actual Results:
+
+Exception is thrown:
+System.NullReferenceException: Object reference not set to an instance of
+an object
+  at System.Web.UI.WebControls.CheckBox.LoadPostData (System.String
+postDataKey, System.Collections.Specialized.NameValueCollection
+postCollection) [0x00000] 
+  at
+System.Web.UI.WebControls.CheckBox.System.Web.UI.IPostBackDataHandler.LoadPostData
+(System.String postDataKey,
+System.Collections.Specialized.NameValueCollection postCollection) [0x00000] 
+  at System.Web.UI.Page.ProcessPostData
+(System.Collections.Specialized.NameValueCollection data, Boolean second)
+[0x00000] 
+  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
+  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
+[0x00000] 
+
+Expected Results:
+
+The actual unchecked value can be read on server.
+
+How often does this happen? 
+
+Always
+
+Additional Information:
+
+mono 1.2.3.1, Apache mod_mono.
+No problem with mono 1.1.9.2


More information about the mono-bugs mailing list