When someone fetches app data with the fields set to * in javascript, we
translate that to not setting any fields in the restful call. When the
fields parameter is empty or not present the restful server should return
back all fields.
Maybe the server you are using isn't translating empty fields to mean all
fields?
- Cassie
On Tue, Sep 23, 2008 at 2:45 AM, Chris Chabot <[EMAIL PROTECTED]> wrote:
> Hey guys, i ran into this glitch while working on the php json-rpc
> implementation:
>
> APP001: opensocial.DataRequest.newFetchPersonAppDataRequest(['someId'],
> '*'): failed
>
> When i look @ it's request in firebug i see:
>
> [{"method":"appdata.get","params":{"userId":["1"],"groupId":"@self","appId":"@app","fields":[]},"id":"fetchWithIds"}]
>
> In other words, the fields param doesn't seem to end up on the server
> in this case?
>
> Anyone ran into / looked at this before?
>
> -- Chris
>