[jira] [Comment Edited] (WW-4610) ServletActionContext.getRequest() doesn't return the MultiPartRequestWrapper (or StrutsRequestWrapper) when using StrutsPrepareFilter

2016-03-03 Thread victorsosa (JIRA)

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

victorsosa edited comment on WW-4610 at 3/3/16 3:32 PM:


Yep, same place


was (Author: victorsosa):
Yep, same place

> 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)


[jira] [Comment Edited] (WW-4610) ServletActionContext.getRequest() doesn't return the MultiPartRequestWrapper (or StrutsRequestWrapper) when using StrutsPrepareFilter

2016-03-03 Thread victorsosa (JIRA)

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

victorsosa edited comment on WW-4610 at 3/3/16 3:19 PM:


You are right. I commited the code change please check that out.


was (Author: victorsosa):
You are right. I commit the code change please check that out.

> 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)


[jira] [Comment Edited] (WW-4610) ServletActionContext.getRequest() doesn't return the MultiPartRequestWrapper (or StrutsRequestWrapper) when using StrutsPrepareFilter

2016-03-03 Thread victorsosa (JIRA)

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

victorsosa edited comment on WW-4610 at 3/3/16 2:10 PM:


You are right. I commit the code change please check that out.


was (Author: victorsosa):
You are right. 

> 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)