Julien' β changed the visibility of the branch 3293823-formsstepsentitypredelete-deletes-wrong-rebase to hidden.
When forms_steps_entity_predelete is triggered it gets workflow entities by adding only entity_id condition to the entity query. Different types of entities may have the same ids, which may cause deleting of wrong workflow: e.g. you are deleting user with id 1. forms_steps_entity_predelete may select node with id 1 instead of user.
We should also check by entity_type to ensure that we are not deleting other worflows.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Julien' β changed the visibility of the branch 3293823-formsstepsentitypredelete-deletes-wrong-rebase to hidden.