[
https://issues.apache.org/jira/browse/TAP5-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Angelo Chen updated TAP5-1786:
------------------------------
Attachment: test2.zip
upload form is in Contact,
form without upload is in About,
click Contact first, upload a file > 200k, then click 'about' to submit
something.
> All forms/submission not working after FileUploadException is raised
> --------------------------------------------------------------------
>
> Key: TAP5-1786
> URL: https://issues.apache.org/jira/browse/TAP5-1786
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-upload
> Affects Versions: 5.3
> Reporter: Angelo Chen
> Priority: Blocker
> Labels: FileUploadException
> Attachments: test2.zip
>
>
> Hi,
> This is a blocker bug, when somebody uploaded a file that triggers a upload
> exception, all the forms submission trigger exception, and users from other
> places experience the same problem even he does not upload a file to trigger
> that, details:
> when configuration.add(UploadSymbols.FILESIZE_MAX, "200000"), this triggers
> following when your uploading file is bigger than 200000:
> org.apache.commons.fileupload.FileUploadBase$FileSizeLimitExceededException:
> The field file exceeds its maximum permitted size of 200000 bytes.
> at
> org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl$1.raiseError(FileUploadBase.java:763)
> at
> org.apache.commons.fileupload.util.LimitedInputStream.checkLimit(LimitedInputStream.java:71)
> at
> org.apache.commons.fileupload.util.LimitedInputStream.read(LimitedInputStream.java:128)
> after that all the forms without using t:type="upload" in the application
> triggers:
> [INFO] AppModule.TimingFilter Request time: 11 ms
> [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed
> with uncaught exception: Unable to decode multipart encoded request.
> java.lang.RuntimeException: Unable to decode multipart encoded request.
> at
> org.apache.tapestry5.upload.internal.services.UploadExceptionFilter.handle(UploadExceptionFilter.java:71)
> at $ComponentEventRequestHandler_125e4f941ab23906.handle(Unknown Source)
> at
> org.apache.tapestry5.services.TapestryModule$40.handle(TapestryModule.java:2454)
> and forms with t:type="upload", triggers following even file size is less
> than:
> org.apache.commons.fileupload.FileUploadBase$FileSizeLimitExceededException:
> The field file exceeds its maximum permitted size of 200000 bytes.
> at
> org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl$1.raiseError(FileUploadBase.java:763)
> at
> org.apache.commons.fileupload.util.LimitedInputStream.checkLimit(LimitedInputStream.java:71)
> at
> org.apache.commons.fileupload.util.LimitedInputStream.read(LimitedInputStream.java:128)
> a discussion can be found here:
> http://tapestry.1045711.n5.nabble.com/T5-3-rc3-upload-exception-tc4989904.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira