cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: Multipart Parser bug with multiple FileParts named the same name
Date Thu, 17 Apr 2008 03:50:24 GMT
On 16.04.2008 10:11, Jerry DuVal wrote:

> Is this a bug?

Feature :) More an inconsistency than an actual bug. I for myself would 
not rely on the correct order of both All.primaryKey and

> When a MultipartHttpServletRequest parses the values using MultipartParser
> it puts the Inline Parts into a Vector, but when parsing FileParts it just
> puts them into the "parts" hashtable.  The problem with this is when a
> Request has multiple FileParts named the same, the parsed parts for the
> FilePart will always be the value of the last parsed FilePart.  Using the
> example HTML below, if you attached different files to for each row,
> the MultipartParser would only have 1 value for ( the value from the
> second row ) instead of a vector.  Let me know what you think, I can create
> a patch.

Please test the new code in SVN. Thanks for your report.


View raw message