shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Lindner (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SHINDIG-1408) JsonDbOpensocialService->getPeople uses outdated way of processing ?fields= parameter
Date Fri, 13 Aug 2010 17:50:17 GMT

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

Paul Lindner resolved SHINDIG-1408.
-----------------------------------

    Resolution: Fixed

patch applied, thanks!


> JsonDbOpensocialService->getPeople uses outdated way of processing ?fields= parameter
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1408
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1408
>             Project: Shindig
>          Issue Type: Bug
>          Components: PHP
>    Affects Versions: 2.0.0
>         Environment: All
>            Reporter: Ivo Jansch
>             Fix For: 2.0.0
>
>         Attachments: shindig-php-patch
>
>
> In JsonDbOpensocialService's getPeople call, there is an old way of reading the $fields
parameter. It checks for $fields[0] which throws a notice since $fields is an associative
array nowadays. Also, there is a nice self::adjustFields method that can be used to filter
the fields.
> I've adjusted getFields to use self::adjustFields, which also removes the missing index
notice. I'll attach the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message