[Mono-bugs] [Bug 490753] New: HtmlInputFile doesn't work on pages with EnableViewState=false

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 31 11:44:29 EDT 2009


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


           Summary: HtmlInputFile doesn't work on pages with
                    EnableViewState=false
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: i686
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: max.karavaev at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner


Created an attachment (id=283221)
 --> (https://bugzilla.novell.com/attachment.cgi?id=283221)
Test case for this bug

Description of Problem:
HtmlInputFile.PostedFile is always null if page with this control has
EnableViewState="false" directive.

Steps to reproduce the problem:
1. Run test case
2. Click "Browse" and select any local file
3. Click "Upload"

Actual Results:
Message "Missing file"

Expected Results:
Message "File received"

How often does this happen? 
Always. It works just fine if remove EnableViewState="false" from page
Default.aspx.

Additional Information:
It worked on Mono 2.0 and older, and on MS.Net.
Found on Mono 2.2 and 2.4.

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