[ http://issues.apache.org/jira/browse/BEEHIVE-882?page=all ]
Carlin Rogers updated BEEHIVE-882:
----------------------------------
Attachment: j882-test-patch.txt
Here's a patch that can be used for testing/verifying the earlier fix. The test
case
must be run manually because testRecorder does not support multipart requests
("multipart/form-data").
Note this patch is only a manual test so should be fine to add for V1.
> ScopedServletUtils.getOuterRequest() does not handle an instance of
> MultipartRequestWrapper
> -------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-882
> URL: http://issues.apache.org/jira/browse/BEEHIVE-882
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: v1m1, V1Beta
> Reporter: Carlin Rogers
> Assignee: Nathan Jantz
> Fix For: V1
> Attachments: j882-patch.txt, j882-test-patch.txt
>
> The ScopedServletUtils.getOuterRequest() fails to return the outer request
> for our
> RehydratedMultipartRequestWrapper (extends the struts MultipartRequestWrapper)
> when we process a form with content type "multipart/form-data".
> We need to unwrap the MultipartRequestWrapper before we try to unwrap the
> contained ScopedRequest from the given ServletRequest.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira