mail-archives/mono-bugs/2009-March/087479.html

115 строки
4.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 490753] New: HtmlInputFile doesn't work on pages with EnableViewState=false
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20490753%5D%20New%3A%20HtmlInputFile%20doesn%27t%20work%20on%20pages%0A%20with%20EnableViewState%3Dfalse&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="087478.html">
<LINK REL="Next" HREF="087485.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 490753] New: HtmlInputFile doesn't work on pages with EnableViewState=false</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20490753%5D%20New%3A%20HtmlInputFile%20doesn%27t%20work%20on%20pages%0A%20with%20EnableViewState%3Dfalse&In-Reply-To="
TITLE="[Mono-bugs] [Bug 490753] New: HtmlInputFile doesn't work on pages with EnableViewState=false">bugzilla_noreply at novell.com
</A><BR>
<I>Tue Mar 31 11:44:29 EDT 2009</I>
<P><UL>
<LI>Previous message: <A HREF="087478.html">[Mono-bugs] [Bug 399048] &quot;_wapi_connect: error looking up socket handle&quot; when running multithreaded HttpWebRequests
</A></li>
<LI>Next message: <A HREF="087485.html">[Mono-bugs] [Bug 490753] HtmlInputFile doesn't work on pages with EnableViewState=false
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#87479">[ date ]</a>
<a href="thread.html#87479">[ thread ]</a>
<a href="subject.html#87479">[ subject ]</a>
<a href="author.html#87479">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=490753">https://bugzilla.novell.com/show_bug.cgi?id=490753</A>
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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mhabersack at novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">max.karavaev at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: Third Party Developer/Partner
Created an attachment (id=283221)
--&gt; (<A HREF="https://bugzilla.novell.com/attachment.cgi?id=283221">https://bugzilla.novell.com/attachment.cgi?id=283221</A>)
Test case for this bug
Description of Problem:
HtmlInputFile.PostedFile is always null if page with this control has
EnableViewState=&quot;false&quot; directive.
Steps to reproduce the problem:
1. Run test case
2. Click &quot;Browse&quot; and select any local file
3. Click &quot;Upload&quot;
Actual Results:
Message &quot;Missing file&quot;
Expected Results:
Message &quot;File received&quot;
How often does this happen?
Always. It works just fine if remove EnableViewState=&quot;false&quot; 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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="087478.html">[Mono-bugs] [Bug 399048] &quot;_wapi_connect: error looking up socket handle&quot; when running multithreaded HttpWebRequests
</A></li>
<LI>Next message: <A HREF="087485.html">[Mono-bugs] [Bug 490753] HtmlInputFile doesn't work on pages with EnableViewState=false
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#87479">[ date ]</a>
<a href="thread.html#87479">[ thread ]</a>
<a href="subject.html#87479">[ subject ]</a>
<a href="author.html#87479">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>