You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Filippo Munafò (JIRA)" <ji...@apache.org> on 2016/03/01 11:39:18 UTC

[jira] [Created] (WW-4610) ServletActionContext.getRequest() never return the MultiPartRequestWrapper (or StrutsRequestWrapper) whem using StrutsPrepareFilter

Filippo Munafò created WW-4610:
----------------------------------

             Summary: ServletActionContext.getRequest() never return the MultiPartRequestWrapper (or StrutsRequestWrapper) whem 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ò
            Priority: Critical


MultiPartRequestWrapper (or StrutsRequestWrapper) is created in Dispatcher.wrapRequest but, there, it's not updated in ServletContext. 
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)