Hi All,

While upgrading from Struts 2.5.30 to 6.1.1, I found an issue when using the 
ExecuteAndWaitInterceptor, if the action returns JSON data. I believe the issue 
was introduced in version 6.0.0 on WW-5070. The JSONResult.findRootObject(...) 
method was changed to call 'stack.findValue("#action")' instead of 
'stack.peek()' to get the root object. This results in the polling action being 
returned instead of the original action that was executed, causing data to be 
missing from the final response.

Workaround:
Changing the action to implement 'ModelDriven' reinstates the old behaviour of 
calling 'stack.peek()' in the JSONResult.findRootObject(...) method.

Thanks,

Kris

Reply via email to