commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Tompkins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FILEUPLOAD-140) Means to preserve text parameters when upload limit exceeded
Date Mon, 05 Jun 2017 14:09:04 GMT

    [ https://issues.apache.org/jira/browse/FILEUPLOAD-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037003#comment-16037003
] 

Rob Tompkins commented on FILEUPLOAD-140:
-----------------------------------------

Is this fixed and committed? [~jochen.wiedmann@softwareag.com] - I'll let you close this issue.

> Means to preserve text parameters when upload limit exceeded
> ------------------------------------------------------------
>
>                 Key: FILEUPLOAD-140
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-140
>             Project: Commons FileUpload
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Paul Benedict
>            Assignee: Jochen Wiedmann
>
> I am trying to resolve https://issues.apache.org/struts/browse/STR-2585 but am lacking
the means to do it. The current use is with the deprecated DiskFileUpload and I prefer to
have this class fixed first. When SizeLimitExceededException is thrown, it does not return
the items it has collected thus far. I see two possible solutions which involve adding a property
on the exception to return them:
> (1) Return the parameters thus gathered or 
> (2) finish out the input stream but throw away all file items and return only the text
parameters.
> Otherwise, whenever a the upload exceeds its limit, all other input parameters disappear.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message