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 (Created) (JIRA)" <ji...@apache.org> on 2011/12/11 07:11:40 UTC
[jira] [Created] (TAP5-1786) All forms/submission not working after
FileUploadException is raised
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
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
[jira] [Commented] (TAP5-1786) All forms/submission not working
after FileUploadException is raised
Posted by "Angelo Chen (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168072#comment-13168072 ]
Angelo Chen commented on TAP5-1786:
-----------------------------------
this is related to https://issues.apache.org/jira/browse/TAP5-1765
Dennis fix in 1765 fixes all the upload and form submission issues, TAP5-1765 causes some bugs difficult to trace as it seems not related, have tried t5.3.1 - rc1, and problem is fixed.
> 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
[jira] [Commented] (TAP5-1786) All forms/submission not working
after FileUploadException is raised
Posted by "Howard M. Lewis Ship (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167918#comment-13167918 ]
Howard M. Lewis Ship commented on TAP5-1786:
--------------------------------------------
File uploads a problematic in general because they leave the state of the current request in a partial and unknown state. There's no "just ignore the file upload and use the rest" because the file upload data is interspersed with the data for all the normal fields.
> 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
[jira] [Resolved] (TAP5-1786) All forms/submission not working
after FileUploadException is raised
Posted by "Angelo Chen (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (TAP5-1786) All forms/submission not working after
FileUploadException is raised
Posted by "Angelo Chen (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Angelo Chen closed TAP5-1786.
-----------------------------
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
[jira] [Updated] (TAP5-1786) All forms/submission not working after
FileUploadException is raised
Posted by "Angelo Chen (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (TAP5-1786) All forms/submission not working after
FileUploadException is raised
Posted by "Angelo Chen (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (TAP5-1786) All forms/submission not working after
FileUploadException is raised
Posted by "Angelo Chen (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Angelo Chen closed TAP5-1786.
-----------------------------
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
[jira] [Commented] (TAP5-1786) All forms/submission not working
after FileUploadException is raised
Posted by "Angelo Chen (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13168072#comment-13168072 ]
Angelo Chen commented on TAP5-1786:
-----------------------------------
this is related to https://issues.apache.org/jira/browse/TAP5-1765
Dennis fix in 1765 fixes all the upload and form submission issues, TAP5-1765 causes some bugs difficult to trace as it seems not related, have tried t5.3.1 - rc1, and problem is fixed.
> 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
[jira] [Resolved] (TAP5-1786) All forms/submission not working
after FileUploadException is raised
Posted by "Angelo Chen (Resolved) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (TAP5-1786) All forms/submission not working
after FileUploadException is raised
Posted by "Howard M. Lewis Ship (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167918#comment-13167918 ]
Howard M. Lewis Ship commented on TAP5-1786:
--------------------------------------------
File uploads a problematic in general because they leave the state of the current request in a partial and unknown state. There's no "just ignore the file upload and use the rest" because the file upload data is interspersed with the data for all the normal fields.
> 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