[Mono-bugs] [Bug 82192][Nor] Changed - [REGRESSION] ListControl's ViewState handling broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 26 08:58:26 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=82192

--- shadow/82192	2007-07-26 08:57:27.000000000 -0400
+++ shadow/82192.tmp.11320	2007-07-26 08:58:26.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 82192
 Product: Mono: Class Libraries
 Version: 1.2
-OS: 
+OS: unknown
 OS Details: FC6
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Sys.Web
 AssignedTo: mhabersack at novell.com                            
 ReportedBy: juraj at hotfeet.ch               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -62,6 +62,25 @@
   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
 [0x00000] 
 
 Reverting to a revision prior to r81396 fixes the problem (e.g.
 "svn up -r {2007-07-04}
 mcs/class/System.Web/System.Web.UI.WebControls/List*.cs").
+
+------- Additional Comments From juraj at hotfeet.ch  2007-07-26 08:58 -------
+Sorry, this is the correct test case:
+
+<%@ Page Language="C#"%>
+<script runat="server">
+void Page_Load(object o, EventArgs e) {
+	if(!IsPostBack)
+		quantity.Items.Add(new ListItem("0", "0"));
+}
+</script>
+<html>
+<body>
+<form runat='server'>
+	<asp:DropDownList id='quantity' runat='server' />
+	<asp:Button text="Postback" runat="server" />
+</form>
+</body>
+</html>


More information about the mono-bugs mailing list