czw., 19 sty 2023 o 02:21 Kris O'Neil <kris.on...@petrosys.com.au> napisał(a): > Issue: > After upgrading from 2.5.30 to 6.1.1, I found an issue when using the > ExecuteAndWaitInterceptor if the action returns a JSON result. 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.
Does it mean you have something else on top of the stack than action? If this is a ModelDriven it should be fine as well as there is a code to detect that. > Workaround: > Changing the action to implement 'ModelDriven' reinstates the old behaviour > of calling 'stack.peek()' in the JSONResult.findRootObject(...) method. Thanks, but what else can it be? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org