Entity delete hook should ignore string-id entities

Created on 3 July 2019, over 5 years ago
Updated 30 January 2025, about 1 month ago

In hook_entity_delete all entities are handled, but only content entities can have scheduled transitions, because the target_id column in the database is an integer. In MySQL this only results in unnecessary query, in PostgreSQL deleting a config entity results in a SQL error.

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇳🇱Netherlands rolf van de krol

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