You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jochen Wiedmann (JIRA)" <ji...@apache.org> on 2009/01/18 03:27:02 UTC
[jira] Resolved: (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 ]
Jochen Wiedmann resolved FILEUPLOAD-152.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.3
Assignee: Jochen Wiedmann
You are right. Fixed.
> 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.3
>
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.