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


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.

Reply via email to