You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Angelo Chen (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/13 03:21:32 UTC
[jira] [Resolved] (TAP5-1786) All forms/submission not working
after FileUploadException is raised
[ https://issues.apache.org/jira/browse/TAP5-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Angelo Chen resolved TAP5-1786.
-------------------------------
Resolution: Fixed
Fix Version/s: 5.3.1
https://issues.apache.org/jira/browse/TAP5-1765
> 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
> Fix For: 5.3.1
>
> 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