[ 
https://issues.apache.org/jira/browse/SHINDIG-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Chabot resolved SHINDIG-526.
----------------------------------

    Resolution: Fixed
      Assignee: Chris Chabot

Patch looks good to me, applied and committed. Thanks!

> 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
>            Assignee: Chris Chabot
>         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.

Reply via email to