You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2013/03/06 19:34:12 UTC

[jira] [Updated] (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 ]

Simone Tripodi updated FILEUPLOAD-152:
--------------------------------------

    Fix Version/s:     (was: 1.3)
                   1.2.2
    
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira