You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Atsushi Odagiri (JIRA)" <ji...@apache.org> on 2010/01/13 13:38:54 UTC
[jira] Created: (SHINDIG-1265) FetchPeopleRequest with 'VIEWER' and
'FRIENDS' gave VIEWER's Information.
FetchPeopleRequest with 'VIEWER' and 'FRIENDS' gave VIEWER's Information.
--------------------------------------------------------------------------
Key: SHINDIG-1265
URL: https://issues.apache.org/jira/browse/SHINDIG-1265
Project: Shindig
Issue Type: Bug
Components: PHP
Affects Versions: 1.1-BETA5
Environment: OS: Windows XP
Apache 2.2.14
PHP 5.2.12
Reporter: Atsushi Odagiri
I call fetchPeopleRequest to get viewer's friends such as below.
var idspec = opensocial.newIdSpec({'userId':'VIEWER', 'groupId':'FRIENDS'});
var req = opensocial.newDataRequest();
req.add(req.newFetchPeopleRequest(idspec, {}), 'viewerFriends');
req.send(fetchPeopleHandler);
But, got VIEWER's information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SHINDIG-1265) FetchPeopleRequest with 'VIEWER' and
'FRIENDS' gave VIEWER's Information.
Posted by "Atsushi Odagiri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Atsushi Odagiri updated SHINDIG-1265:
-------------------------------------
Attachment: RpcRequestItem.php.patch
I found that GroupId property of RpcRequestItem was undefined.
Because the condition statement is for param property, but param is array item.
> FetchPeopleRequest with 'VIEWER' and 'FRIENDS' gave VIEWER's Information.
> --------------------------------------------------------------------------
>
> Key: SHINDIG-1265
> URL: https://issues.apache.org/jira/browse/SHINDIG-1265
> Project: Shindig
> Issue Type: Bug
> Components: PHP
> Affects Versions: 1.1-BETA5
> Environment: OS: Windows XP
> Apache 2.2.14
> PHP 5.2.12
> Reporter: Atsushi Odagiri
> Attachments: RpcRequestItem.php.patch
>
>
> I call fetchPeopleRequest to get viewer's friends such as below.
> var idspec = opensocial.newIdSpec({'userId':'VIEWER', 'groupId':'FRIENDS'});
> var req = opensocial.newDataRequest();
> req.add(req.newFetchPeopleRequest(idspec, {}), 'viewerFriends');
> req.send(fetchPeopleHandler);
> But, got VIEWER's information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.