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


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