(Sorry for my previous, empty post...)
Ok, here it is:
In the constructor of the RpcRequestItem (in RpcRequestItem.php, around line
39)
if (isset($rpc['params')) { $this->data = $rpc['params'] } else {
$this->data = array(); }
If an RPC request is made however (like
http://shindig/social/rpc?method=people.get&userId=1&groupId=@self)
the parameter $rpc passed to the constructor has the structure
Array ( [method] => people.get [userId] => 1 [groupId] => @self )
The data field thus is always an empty array. This corrupts RPC calls:
{"error":{"code":500,"message":"Internal error: Can't get viewerId from an
anonymous token"}}
Is this a bug, or is this because of some settings? I greatly appreciate
your help on this!! Many thanks :)