Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If a user deletes an Entity Type or Bundle from their Drupal installation after a JSON API override configuration has been configured, the JsonApiResourceConfig entity associated with the type/bundle is not deleted as well. Besides not being hygienic, this can result in validation errors if a new entity or bundle with the same name is created at a later date.
Comment | File | Size | Author |
---|---|---|---|
#2 | jsonapi_extras_config_dependency-2903432-2.patch | 705 bytes | logickal |
Comments
Comment #2
logickal CreditAttribution: logickal at The Weather Company commentedHere is a patch that adds the dependency between the original and jsonapi_extras config entities.
Comment #3
logickal CreditAttribution: logickal at The Weather Company commentedOne outstanding question that I'm just now circling around to - what is the best way to clean up the side effects of this bug for those like me that were bitten by it? An update hook?
Comment #6
e0ipsoSorry it took so long to review/merge.
Many many thanks @logickal.