struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4610) ServletActionContext.getRequest() doesn't return the MultiPartRequestWrapper (or StrutsRequestWrapper) when using StrutsPrepareFilter
Date Thu, 03 Mar 2016 17:35:18 GMT

    [ https://issues.apache.org/jira/browse/WW-4610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15178198#comment-15178198
] 

Hudson commented on WW-4610:
----------------------------

SUCCESS: Integrated in Struts-JDK7-master #433 (See [https://builds.apache.org/job/Struts-JDK7-master/433/])
fix for WW-4610 ServletActionContext.getRequest() doesn't return the (victorsosa: rev 0c92e2a1f361b6675ed8ac2c7bc3ffe06603f01a)
* core/src/main/java/org/apache/struts2/dispatcher/PrepareOperations.java


> ServletActionContext.getRequest() doesn't return the MultiPartRequestWrapper (or StrutsRequestWrapper)
when using StrutsPrepareFilter
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-4610
>                 URL: https://issues.apache.org/jira/browse/WW-4610
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.24, 2.5
>            Reporter: Filippo Munafò
>             Fix For: 2.3.25, 2.5
>
>
> MultiPartRequestWrapper (or StrutsRequestWrapper) is created in Dispatcher.wrapRequest
but, there, it's not updated in ServletActionContext. 
> Probably the update is done later because FileUploadInterceptor.intercept has access
to the correct object; but using only StrutsPrepareFilter (instead of an execute one) the
method ServletActionContext.getRequest() never return the MultiPartRequestWrapper (or StrutsRequestWrapper).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message