[
https://issues.apache.org/jira/browse/WW-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921455#action_12921455
]
John Lindal commented on WW-3498:
---------------------------------
If you look at my patch, you will see that the original code simply grabs the
action if this.root is null. For JSON mode, this is incorrect. It should grab
the top of the value stack instead. The original code is correct for JSON-RPC,
so my patch preserves this behavior.
> JSONInterceptor ignores Model pushed onto the ValueStack
> --------------------------------------------------------
>
> Key: WW-3498
> URL: https://issues.apache.org/jira/browse/WW-3498
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - JSON
> Affects Versions: 2.2.1
> Reporter: John Lindal
> Attachments: patch
>
>
> In JSON mode (not JSON-RPC), if this.root is not specified, the rootObject
> should be the top of the ValueStack, not the action.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.