MultipartFilter does not begin parsing until after transaction is started
-------------------------------------------------------------------------
Key: JBSEAM-3448
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3448
Project: Seam
Issue Type: Bug
Reporter: Clint Popetz
Currently the multipart filter creates the request wrapper upon detecting a multipart
post, but does not actually begin processing until the first time someone asks it for a
parameter. This means that upon such a POST, multipart processing won't begin until
after the transaction has been created by the SeamPhaseListener, and thus for large
uploads (and/or slow network connections) it's very easy to exceed the transaction
timeout, leading to failed uploads.
I think that MultipartFilter should call getParam("") before invoking the rest
of the chain so that the upload/parsing happen before the tx is created.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira