Entity delete hook should ignore string-id entities

Created on 3 July 2019, almost 6 years ago
Updated 30 January 2025, 4 months 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