You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "janrick (JIRA)" <ji...@apache.org> on 2011/06/27 09:55:47 UTC

[jira] [Created] (FILEUPLOAD-196) FileSizeLimitExceededException wrong

FileSizeLimitExceededException wrong
------------------------------------

                 Key: FILEUPLOAD-196
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-196
             Project: Commons FileUpload
          Issue Type: Bug
    Affects Versions: 1.2
         Environment: apache-tomcat-5.5.33
            Reporter: janrick
            Priority: Trivial
             Fix For: 1.2


when Maximum size of single uploaded file is 1 byte. 
the size of single uploaded file is 0 byte,
first time upload file can sucess.
then the size of single uploaded file is 20 bytes,
FileSizeLimitExceededException occured , it is right.
but continually upload file,the size of single uploaded file is still 0 byte,
FileSizeLimitExceededException occured, why ?
after FileSizeLimitExceededException occured,  the single uploaded file of 0 byte can not upload , why ?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (FILEUPLOAD-196) FileSizeLimitExceededException wrong

Posted by "jagub zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FILEUPLOAD-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056395#comment-13056395 ] 

jagub zhang commented on FILEUPLOAD-196:
----------------------------------------

I tried it, but didn't reproduce your problem.
Can you explain more about it.

by the way,
Is any other input field tag in your HTML?
if you use enctype="multipart/form-data", every input field will upload as stream.
commons-upload will also check input field length.

> FileSizeLimitExceededException wrong
> ------------------------------------
>
>                 Key: FILEUPLOAD-196
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-196
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: apache-tomcat-5.5.33
>            Reporter: janrick
>            Priority: Trivial
>              Labels: test
>             Fix For: 1.2
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> when Maximum size of single uploaded file is 1 byte. 
> the size of single uploaded file is 0 byte,
> first time upload file can sucess.
> then the size of single uploaded file is 20 bytes,
> FileSizeLimitExceededException occured , it is right.
> but continually upload file,the size of single uploaded file is still 0 byte,
> FileSizeLimitExceededException occured, why ?
> after FileSizeLimitExceededException occured,  the single uploaded file of 0 byte can not upload , why ?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FILEUPLOAD-196) FileSizeLimitExceededException wrong

Posted by "janrick (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FILEUPLOAD-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

janrick updated FILEUPLOAD-196:
-------------------------------

    Remaining Estimate: 336h  (was: 2h)
     Original Estimate: 336h  (was: 2h)

> FileSizeLimitExceededException wrong
> ------------------------------------
>
>                 Key: FILEUPLOAD-196
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-196
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: apache-tomcat-5.5.33
>            Reporter: janrick
>            Priority: Trivial
>              Labels: test
>             Fix For: 1.2
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> when Maximum size of single uploaded file is 1 byte. 
> the size of single uploaded file is 0 byte,
> first time upload file can sucess.
> then the size of single uploaded file is 20 bytes,
> FileSizeLimitExceededException occured , it is right.
> but continually upload file,the size of single uploaded file is still 0 byte,
> FileSizeLimitExceededException occured, why ?
> after FileSizeLimitExceededException occured,  the single uploaded file of 0 byte can not upload , why ?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira