struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (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 14:10:18 GMT

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

ASF GitHub Bot commented on WW-4610:
------------------------------------

GitHub user victorsosa opened a pull request:

    https://github.com/apache/struts/pull/90

        WW-4610  ServletActionContext.getRequest() doesn't return the MultiPartRequestWrapper
(or StrutsRequestWrapper) when using StrutsPrepareFilter

    Now StrutsPrepareFilter set the ServletActionContext with the proper MultiPartRequestWrapper
(or StrutsRequestWrapper) 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/victorsosa/struts ww-4610

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/struts/pull/90.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #90
    
----
commit e05f9f01804bc64ace15bfc573ef483da583e5a7
Author: victor sosa <victorsosa@users.noreply.github.com>
Date:   2016-01-21T12:00:54Z

    Merge pull request #3 from apache/master
    
    update pull

commit 778eec3b94f283290f186c8caffd10f03576fa27
Author: victor sosa <victorsosa@users.noreply.github.com>
Date:   2016-01-26T12:38:50Z

    Merge pull request #4 from apache/master
    
    update pull

commit 46bd92fe202041c76704b96d11a0b8f8e83d56de
Author: victor sosa <victorsosa@users.noreply.github.com>
Date:   2016-01-29T21:54:27Z

    Merge pull request #5 from apache/master
    
    update pull

commit a2c5bc835ec06483af6175fc0abf67714fb28711
Author: victor sosa <victorsosa@users.noreply.github.com>
Date:   2016-02-04T17:12:22Z

    Merge pull request #6 from apache/master
    
    pull update

commit f34283b26eea874d2f76ad0cadf95c33b2d2aeae
Author: victor sosa <victorsosa@users.noreply.github.com>
Date:   2016-02-27T15:20:39Z

    Merge pull request #7 from apache/master
    
    update pull

commit 0c92e2a1f361b6675ed8ac2c7bc3ffe06603f01a
Author: victorsosa <victor.sosa@peopleware.do>
Date:   2016-03-03T14:06:57Z

    fix for WW-4610 ServletActionContext.getRequest() doesn't return the
    MultiPartRequestWrapper (or StrutsRequestWrapper) when using
    StrutsPrepareFilter

----


> 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