Skip to content

Request with $expand of a set ends with fatal error #66

Closed
@cdcampos

Description

@cdcampos

Issuing a request with $expand of a resource set (1:n) like this:
http://localhost/NorthWind.svc/Customers(‘ALFKI’)?$expand=Orders

Ends with fatal error in line 378 of RequestExpander:

Fatal error: Uncaught Error: Call to undefined method Closure::getReference() in /www/GEA/vendor/algo-web/podata/src/POData/UriProcessor/RequestExpander.php:378

Taking out ...->getReference() works fine, apparently:
$orderByFunction = $internalOrderByInfo->getSorterFunction();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions