struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Huber (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4605) Refactor MessageStoreInterceptor and use PreResultListener to store messages
Date Fri, 04 Mar 2016 08:00:51 GMT

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

Greg Huber commented on WW-4605:
--------------------------------

I think we are OK, I reinstated the "result = createResult();" in the DefaultActionInvocation.executeResult()
method and included the modified MessageStoreInterceptor and MessageStorePreResultListener
classes and everything seems to work, the messages now show on redirects.  Were there any
other changes made that I missed? Maybe I can check/test for, what does not now work.

> Refactor MessageStoreInterceptor and use PreResultListener to store messages
> ----------------------------------------------------------------------------
>
>                 Key: WW-4605
>                 URL: https://issues.apache.org/jira/browse/WW-4605
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.3.24
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.25, 2.5
>
>
> See WW-4600 as this issue is similar, when response was already comitted (redirect was
send, JSP was rendered), logic in {{after}} method won't work as it isn't possible to modify
session when response was comitted.



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

Mime
View raw message