[Mono-bugs] [Bug 329681] New: empty DropDownList after second PostPack

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 30 12:51:42 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=329681

           Summary: empty DropDownList after second PostPack
           Product: Mono: Class Libraries
           Version: 1.1
          Platform: i386
               URL: http://monobug.yot-project.net/WebForm1.aspx
        OS/Version: FreeBSD
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: rene at woldtmann.com
         QAContact: mono-bugs at ximian.com
          Found By: Customer


Description of Problem:
Bug in Mono1.2.5
There is a DropDownList in our WebUserControl. This DropDownList is not
repopulated from the ViewState after the 2nd PostBack. This problem does not
occur in ISS and Mono1.2.4. We encountered it after updating to Mono1.2.5

Steps to reproduce the problem:
1. Open website
2. Postback
3. Postback => Error 500

Actual Results:

System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal
to the list count.
Parameter name: index 2
at System.Collections.ArrayList.get_Item (Int32 index) [0x00000]
at System.Web.UI.WebControls.ListItemCollection.get_Item (Int32 index)
[0x00000]
at System.Web.UI.WebControls.ListControl.LoadViewState (System.Object
savedState) [0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState)
[0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState)
[0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState)
[0x00000]
at System.Web.UI.Control.LoadViewStateRecursive (System.Object savedState)
[0x00000]
at System.Web.UI.Page.LoadPageViewState () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]


Expected Results:
Unchanged DropDownList content, similar to the content before the postback

How often does this happen?
Always


Additional Information:

I am attaching a small application.
This small application works on MS.Net and Mono 1.2.4_x
We have setup a server-application for this application at
http://monobug.yot-project.net/WebForm1.aspx.

Installed Versions:
libgdiplus-1.2.5_1
mod_mono-1.2.5_1
mono-1.2.5_7
xsp-1.2.5_1


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list