Skip to content

Error when getting relationships #65

Open
@rainpoiss

Description

@rainpoiss

/{ct}/{id}/{relatedtype} works only one way.
Example I have ct pages and ct categories
i choose relationship when creating new page.
it works when i make request /pages/1/categories
but when i try to use it the other way:
categories/1pages/
i get the error:

Uncaught Exception: StorageException .

StorageException in Relations.php line 205:
Unable to load collection values. Ensure that EntityManager is set on Bolt\Storage\Collection\Relations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions