Disabled resources are still accessible via related routes and includes

Created on 28 December 2017, over 7 years ago
Updated 3 April 2024, about 1 year ago

It is possible to access a disabled resource via the include parameter, related routes and relationship routes.

When the field is a single field, the related route results in a 500 Internal Server Error with the detail, "Route \"jsonapi.user--user.individual\" does not exist."

This was uncovered as part of #2932035: ResourceTypes should be internal when EntityType::isInternal is TRUE .

... I just noticed that the UI says: "Disabling a resource can have unexpected results when following relationships belonging to that resource."

Since this throws a 500, I still think it's worth reporting.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024