.....I seem to now have to add myStack everywhere I use STORE messages for
it to work, which is different from the previous implementation.

<interceptor-ref name="store">
  <param name="operationMode">STORE</param>
</interceptor-ref>
<interceptor-ref name="MyStack" />

Cheers Greg


On 11 February 2016 at 07:23, Lukasz Lenart <lukaszlen...@apache.org> wrote:

> 2016-02-08 13:50 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>:
> > 2016-02-08 13:44 GMT+01:00 Greg Huber <gregh3...@gmail.com>:
> >> I was dong some more testing and noticed that my message store
> interceptor
> >> messages have stopped working.
> >>
> >> There is a check in the
> >> org.apache.struts2.interceptor.MessageStoreInterceptor to see if the
> >> response has been committed, and if it is skip the messages processing.
> >>
> >> boolean isCommitted = ServletActionContext.getResponse().isCommitted();
> >>
> >> LOG.debug("Response was already committed, cannot store messages!");
> >>
> >> I do not think I am committing any struts stuff so was wondering if
> >> anything has changed that would?
> >
> > Yes, it's a side effect of this change [1] but I already refactored
> > the code [2] and now it works even with redirects - is it worth to
> > backport it to 2.3.25?
> >
> > [1] https://issues.apache.org/jira/browse/WW-4600
> > [2] https://issues.apache.org/jira/browse/WW-4605
>
> I have ported the same solution to 2.3.25, I hope it won't break anything
> :)
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to