[
https://issues.apache.org/struts/browse/WW-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41683
]
Lukasz Racon commented on WW-1549:
----------------------------------
New ticked has been created for this issue:
https://issues.apache.org/struts/browse/WW-2073
PS. Thanks for the reminder. I was trying to check if original issue
reporter/person who fixed it, had more reasons behind adding
"upload.setSizeMax(maxSize); "
> File upload with JakartaMultipartRequest fails if file size less than
> DiskFileItem.sizeThreshold
> ------------------------------------------------------------------------------------------------
>
> Key: WW-1549
> URL: https://issues.apache.org/struts/browse/WW-1549
> Project: Struts 2
> Issue Type: Bug
> Components: Interceptors
> Affects Versions: 2.0.10, 2.1.0
> Environment: Win XP, J2SE 1.5.0_08, struts-core-2.0.2-SNAPSHOT (Dec
> 07)
> Reporter: Tomas Carlsson
> Assignee: 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.
-
You can reply to this email to add a comment to the issue online.