Ah right thanks for clearing that up, indeed in the code it checks for
fields or '*' and not empty = all, easy fix after all, thanks!
On Tue, Sep 23, 2008 at 5:10 PM, Cassie <[EMAIL PROTECTED]> wrote:
> 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
> >
>