POST fails if request.getParameter called by ServletFilter
----------------------------------------------------------

                 Key: WICKET-3405
                 URL: https://issues.apache.org/jira/browse/WICKET-3405
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-RC1
         Environment: linux
jdk 1.6.0_11
jetty 7.2.2.v20101205

            Reporter: Mike Bartlett


1.5-RC1 implementation of the ServletWebRequest generatePostParameters method 
that calls request.getReader().

The result is that the POST fails in both jetty and Tomcat.

The ServletWebRequest.generatePostParameters method implementation attempts to 
handle this situation with a try catch that catchs IOException. If an 
IOException is thrown with the request.getReader() call then it uses 
request.getParameter() to get the POST parameters. However, in both jetty and 
tomcat 6, it is not an IOException that is thrown but an IllegalStateException.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to