struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-1549) File upload with JakartaMultipartRequest fails if file size less than DiskFileItem.sizeThreshold
Date Fri, 08 Dec 2006 18:40:57 GMT
     [ http://issues.apache.org/struts/browse/WW-1549?page=all ]

Don Brown resolved WW-1549.
---------------------------

    Fix Version/s: 2.0.2
       Resolution: Fixed
         Assignee: Don Brown

Fixed, thanks for the patch!

> File upload with JakartaMultipartRequest fails if file size less than DiskFileItem.sizeThreshold
> ------------------------------------------------------------------------------------------------
>
>                 Key: WW-1549
>                 URL: http://issues.apache.org/struts/browse/WW-1549
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Interceptors
>    Affects Versions: 2.0.2
>         Environment: Win XP, J2SE 1.5.0_08, struts-core-2.0.2-SNAPSHOT (Dec 07)
>            Reporter: Tomas Carlsson
>         Assigned To: Don Brown
>            Priority: Minor
>             Fix For: 2.0.2
>
>         Attachments: s2_28850.patch.gz, s2_28850_v2.patch
>
>
> commons-fileupload DiskFileItem will not write any data to the file system until its
sizeThreshold has been reached. This is not considered in JakartaMultipartRequest. It should
check this when getting the File object that is later injected to an Action.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message