[
https://issues.apache.org/jira/browse/SHINDIG-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Chabot resolved SHINDIG-653.
----------------------------------
Resolution: Fixed
Assignee: Chris Chabot
I'll gladly apply the patch, but be very careful what your getting your self
into :)
The JsonDb code is known to be broken (since the json-rpc rewrite landed this
week), I've done all my testing and development on Partuza's service
implementation since that provided me with a much better test case.
Now it's not as horrible as it sounds, the JsonDb and Partuza service classes
are actually quite similar, so it'll be easy to port over the changes; If you
feel up to it, please by all means do!
> 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.