You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Arne Roomann-Kurrik (JIRA)" <ji...@apache.org> on 2008/08/21 23:58:46 UTC

[jira] Updated: (SHINDIG-533) Setting 'groupId' = 'SELF' results in invalid RPC and RESTful requests

     [ https://issues.apache.org/jira/browse/SHINDIG-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arne Roomann-Kurrik updated SHINDIG-533:
----------------------------------------

    Attachment: fix-533-bug.patch

> Setting 'groupId' = 'SELF' results in invalid RPC and RESTful requests
> ----------------------------------------------------------------------
>
>                 Key: SHINDIG-533
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-533
>             Project: Shindig
>          Issue Type: Bug
>          Components: Features (Javascript)
>            Reporter: Arne Roomann-Kurrik
>            Priority: Minor
>         Attachments: fix-533-bug.patch
>
>
> Requests such as the following:
> var idspec = opensocial.newIdSpec({ "userId" : "OWNER", "groupId" : "SELF" });
> var req = opensocial.newDataRequest();
> req.add(req.newFetchPersonAppDataRequest(idspec, "myKey"), "get_data");
> req.send();
> result in the following rpc or restful requests:
> {"get_data":{"url":"/appdata/@owner/SELF/@app?fields=myKey","method":"GET"}}
> [{"method":"appdata.get","params":{"userId":"@owner","groupId":"SELF","app":"@app","fields":["myKey"]},"id":"get_data"}]
> This is incorrect, because SELF should be considered a valid groupId, not a group name.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.