Skip to content

Flickr Datasource issues with Read function model->uri->query  #25

@jigzstar

Description

@jigzstar

I have found an issue while updating the Flickr plugin to use Copula:

In ApiSource.php->read():
uri->query = is set to be a string a=xxx&b=yyyy

$model->request['uri']['query'] = $this->_buildQuery($conditions);

However in Network->http->httpSocketOath.php

Line 176 block:

        if (isset($request['uri']['query'])) {
$requestParams =array_merge($requestParams,$this->assocToNumericNameValue($request['uri']['query']));
        }

expects uri->query to be an Array since it calls assocToNumericNameValue,

I fixed for my purposes by setting:

$model->request['uri']['query'] = $conditions;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions