Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 64242 invoked from network); 23 Aug 2007 15:33:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2007 15:33:01 -0000 Received: (qmail 49722 invoked by uid 500); 23 Aug 2007 15:32:50 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 49572 invoked by uid 500); 23 Aug 2007 15:32:50 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 49557 invoked by uid 99); 23 Aug 2007 15:32:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 08:32:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 15:33:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8BA6171420A for ; Thu, 23 Aug 2007 08:32:30 -0700 (PDT) Message-ID: <11769110.1187883150544.JavaMail.jira@brutus> Date: Thu, 23 Aug 2007 08:32:30 -0700 (PDT) From: "Vera Mickael (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (FILEUPLOAD-144) Parameters values are lost In-Reply-To: <13148704.1187882790596.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FILEUPLOAD-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vera Mickael updated FILEUPLOAD-144: ------------------------------------ Attachment: test.fileupload.zip This project reproduces the problem on my platform on two computers. Just build the war with the build.xml ant file, the war is generated in the 'war' directory. The deploy the war in tomcat or jboss with assertions activated. Access webapp with the url http://loclahost:8080/test.fileupload Click the submit button at the end of the page, most of times an assertion is thrown and it should not. > Parameters values are lost > -------------------------- > > Key: FILEUPLOAD-144 > URL: https://issues.apache.org/jira/browse/FILEUPLOAD-144 > Project: Commons FileUpload > Issue Type: Bug > Affects Versions: 1.2 > Environment: JBoss 4 / XP / Servlet / both Firefox and IE > Reporter: Vera Mickael > Priority: Critical > Attachments: test.fileupload.zip > > > When parsing a request with the streaming API, some parameters loose their values. I can easily reproduce the problem when a lot of parameters are submitted (about 400 in a table). My code is as follows : > final FileItemStream itemStream = anItemIterator.next(); > final String fieldName = itemStream.getFieldName(); > System.out.print("Field " + fieldName); > InputStream stream = itemStream.openStream(); > final String value = Streams.asString(stream, "UTF-8"); > The last statement sometimes returns a value and sometimes not. Sometimes I can retreive all parameters, sometimes I loose 3 or 4 parameters. I reproduced the problem on two computers. I have a very small application with a servlet of 69 lines that reproduces the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.