IRRE: Deleting the parent record leaves orphan child records referenced by MM table
As the subject mentions, if you delete a parent record containing IRRE child records, which are referenced by a MM table, the child records won't get deleted.
This bug is present in 6.2 LTS and 7.6 LTS. I didn't check v8.
I'll attach a patch and I think it's really a no-brainer and should be easy to migrate.
#2 Updated by Stephan Großberndt about 2 years ago
I don't think this is a no-brainer. It's not a bug but a change in behaviour and in many places this will not be the wanted behaviour.
In MM-Relations there may be multiple relations between several objects:
Just because you want to delete A this does not have to mean X must be deleted too, B would lose its relation too.