James Chaplin created WW-5312:
---------------------------------
Summary: ExecuteAndWaitInterceptor inconsistent wait processing
behaviour
Key: WW-5312
URL: https://issues.apache.org/jira/browse/WW-5312
Project: Struts 2
Issue Type: Bug
Components: Core, Core Interceptors
Affects Versions: 6.1.2
Environment: Java 8, Tomcat 8.5. The behaviour will likely be the
same for other Java/Server combinations.
Reporter: James Chaplin
Fix For: 6.2.0
The _ExecuteAndWaitInterceptor_ processing appears to only execute as expected
for the first run-through for any given session.
This can be seen interactively using the Struts2 Showcase "_Execute and Wait
Examples_", with the wait processing only functioning during the first attempt
through each example in the same session. Clearing the session in the browser
gives the expected wait behaviour again, but only one time (until clearing the
session again).
After debugging the _ExecuteAndWaitInterceptor_ flow, it appears that the
removal from the _SessionMap_ did not perform as expected, resulting in a state
divergence with the underlying session.
A PR that attempts to fix the behaviour will be submitted soon.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)