- Issue created by @kasperg
- Merge request !4Issue #3343816: Specification includes disabled resources → (Open) created by kasperg
- Status changed to Needs review
over 2 years ago 7:53pm 22 February 2023 - 🇩🇰Denmark kasperg
I have opened a merge request which filters away disabled REST resources.
As far as I can tell
RestInspectionTrait::getResourceConfigs()
is the sole place where the module loads REST resource configuration. Consequently it should be the only place where we need to do any filtering.This should also fix issue #3277858 🐛 Disabled Content Rest API throws exception on REST Specification page Needs work .
- Status changed to RTBC
about 1 year ago 9:35am 15 May 2024 - 🇩🇪Germany Anybody Porta Westfalica
Great work @kasperg! RTBC!
Any maintainers to finally review and merge this important fix?
- 🇩🇪Germany Anybody Porta Westfalica
FYI: I closed 🐛 Disabled Content Rest API throws exception on REST Specification page Needs work as duplicate.
- Status changed to Needs work
11 days ago 7:00pm 22 May 2025 - 🇺🇸United States phenaproxima Massachusetts
This security-related bug fix should have test coverage, I think.
- First commit to issue fork.
- 🇬🇧United Kingdom marcelovani London
I am getting these fatal errors when I visit the endpoint without enabling REST for blocks and menus
- 🇬🇧United Kingdom marcelovani London
The code in the pull request fixes the issue.
I added a test to make sure the output is accessible https://git.drupalcode.org/issue/openapi_rest-3343816/-/commit/b17300b04...