commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Wiedmann (JIRA)" <>
Subject [jira] Commented: (FILEUPLOAD-144) Parameters values are lost
Date Wed, 10 Oct 2007 06:44:50 GMT


Jochen Wiedmann commented on FILEUPLOAD-144:

I'd like to repeat my question, whether your problems are reproducable and possibly fixed
in the latest version of the trunk? In other words, whether this bug is in fact a duplicate
of FILEUPLOAD-135? If I get no reply, then I intend to close this issue as a duplicate within
two weeks or so.

> Parameters values are lost
> --------------------------
>                 Key: FILEUPLOAD-144
>                 URL:
>             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:,,,
> 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 =;
>             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, the
project is attached to this issue. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message