[
https://issues.apache.org/jira/browse/SHINDIG-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638835#action_12638835
]
Chris Chabot commented on SHINDIG-653:
--------------------------------------
pps, here's the working link for partuza, the fault is in the jsondb service
and not in the PeopleHandler class:
http://modules.partuza.nl/social/rest/people/1/@all
If you feel like attacking the jsondb class and porting it to our new SPI (I
would be very grateful if you did), please use this file as reference:
http://code.google.com/p/partuza/source/browse/trunk/Shindig/PartuzaService.php
> Can't retrieve the people resources with @all and etc
> -----------------------------------------------------
>
> Key: SHINDIG-653
> URL: https://issues.apache.org/jira/browse/SHINDIG-653
> Project: Shindig
> Issue Type: Bug
> Components: RESTful API (PHP)
> Reporter: Yoichiro Tanaka
> Assignee: Chris Chabot
> Attachments: fix-653.patch
>
>
> PHP Fatal error occurs at retrieving the people resources with @all,
> @friends, and etc. For example, if we try to access to the following url:
> http://my.server.host/social/rest/people/john.doe/@all
> then the error like the following is written in error_log:
> [Sun Oct 12 11:56:18 2008] [error] [client ::1] PHP Fatal error: Call to a
> member function getUserId() on a non-object in
> /Library/WebServer/Documents/shindig_alone/php/src/social/sample/JsonDbOpensocialService.php
> on line 206
> This cause is that the array which includes the userId object is passed as
> the first argument for calling getPeople() function. However, the userId
> object is expected in getPeople(), not the array.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.