You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rob Tompkins (JIRA)" <ji...@apache.org> on 2017/06/06 04:56:18 UTC
[jira] [Closed] (FILEUPLOAD-152) Unit incompatibility
betweenFileUpload.setFileSizeMax and FileUploadBase$FileItemIteratorImpl
[ https://issues.apache.org/jira/browse/FILEUPLOAD-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Tompkins closed FILEUPLOAD-152.
-----------------------------------
1.2.2 released.
> Unit incompatibility betweenFileUpload.setFileSizeMax and FileUploadBase$FileItemIteratorImpl
> ---------------------------------------------------------------------------------------------
>
> Key: FILEUPLOAD-152
> URL: https://issues.apache.org/jira/browse/FILEUPLOAD-152
> Project: Commons FileUpload
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Duzakropka
> Assignee: Jochen Wiedmann
> Priority: Minor
> Fix For: 1.2.2
>
>
> FileUploadBase$FileItemIteratorImpl.FileItemStreamImpl
> If we have too big file (binary, for example) and FileSizeLimitExceededException will be thrown you're always creating message: "The field " + fieldName + " exceeds its maximum permitted " + " size of " + pSizeMax + " characters."
> Size limit is setting using bytes, in this message user will have an information about too many characters...
> Can you change message to use that same unit?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)