[
https://issues.apache.org/jira/browse/FILEUPLOAD-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Wiedmann resolved FILEUPLOAD-154.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.3
Assignee: Jochen Wiedmann
A FileSizeLimitExceededException does now have methods getFileName() and
getFieldName().
> improve FileUploadLimitExceededException metadata
> -------------------------------------------------
>
> Key: FILEUPLOAD-154
> URL: https://issues.apache.org/jira/browse/FILEUPLOAD-154
> Project: Commons FileUpload
> Issue Type: Improvement
> Affects Versions: 1.2
> Reporter: Bob Schellink
> Assignee: Jochen Wiedmann
> Fix For: 1.3
>
>
> Hi,
> It would be very helpful if FileSizeLimitExceededException stored the
> uploaded file name and html field name as properties.
> This is helpful data to display in an error message especially if there are
> multiple FileUpload fields. An example message could be:
> The file 'MyDoc.pdf' is too large. The 'Upload CV' field is limited to 1mb.
> regards
> bob
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.