Skip to content

Patching resource relationship on primary endpoint with non-existing resource fails #852

Closed
@maurei

Description

@maurei

When doing a PATCH /articles/{id} and updating the author relationship with a reference to a non-existing person resource, it fails with a 500. No check is performed if the relationship actually exists.

Should be a 404 with a descriptive message.

See this test

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions