[
https://issues.apache.org/jira/browse/SHINDIG-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henry Saputra updated SHINDIG-1593:
-----------------------------------
Summary: Use shindig.json-rpc.result-field property from shindig.properties
file correctly to add wrapper to the returned data (was: Respect the
shindig.json-rpc.result-field to add the returned data in shindig.properties)
Update the issue summary so it makes more sense =)
> Use shindig.json-rpc.result-field property from shindig.properties file
> correctly to add wrapper to the returned data
> ---------------------------------------------------------------------------------------------------------------------
>
> 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