You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "impetus technologies (JIRA)" <ji...@apache.org> on 2008/08/20 10:28:44 UTC
[jira] Updated: (SHINDIG-526) HAS_APP filter is not working with
new canonical json db structure
[ https://issues.apache.org/jira/browse/SHINDIG-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
impetus technologies updated SHINDIG-526:
-----------------------------------------
Attachment: canonicaldb.json.patch
JsonDbOpensocialService.php.patch
Patch files are attached. Solution is based on second way (A separate userApplications object can be created which contain different 'person ids' and corresponding 'application ids' )
Pls verify patches.
Thanks
-Ruchi Kothari
> HAS_APP filter is not working with new canonical json db structure
> -------------------------------------------------------------------
>
> Key: SHINDIG-526
> URL: https://issues.apache.org/jira/browse/SHINDIG-526
> Project: Shindig
> Issue Type: Bug
> Environment: Windows, Apache
> Reporter: impetus technologies
> Attachments: canonicaldb.json.patch, JsonDbOpensocialService.php.patch
>
>
> HAS_APP filter was working earlier with xml based data fetch, but not working with canonical json db based data fetch.
> In canonicaldb.json, hasApp is mentioned as a field inside people object and it is not related to any application. To fix this, we can modify Canonicaldb.json file, in either of the two ways:
> 1.applications (array of the application ids the user has installed) can be defined as a field inside people object.
> 2.A separate userApplications object can be created which contain different 'id' and corresponding 'application ids' .
> Based on this structure, the has_app filter code can be modified to fetch the correct value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.