[
https://issues.apache.org/jira/browse/SHINDIG-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089587#comment-13089587
]
Henry Saputra commented on SHINDIG-1593:
----------------------------------------
If no objection, will commit this EOD.
> Respect the shindig.json-rpc.result-field to add the returned data in
> shindig.properties
> ----------------------------------------------------------------------------------------
>
> Key: SHINDIG-1593
> URL: https://issues.apache.org/jira/browse/SHINDIG-1593
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Reporter: Henry Saputra
> Assignee: Henry Saputra
> Priority: Minor
> Labels: java, json-rpc
> Attachments: SHINDIG-1593.patch
>
>
> Currently if shindig.json-rpc.result-field sets to "both", the reponse
> contains "result", "data" and "both".
> To respect the optional parameter shindig.json-rpc.result-field, we check if
> its value is "both" then we inject the response to both "data" and "result".
> Otherwise we use the name specified in the shindig.json-rpc.result-field
> property.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira