- Issue created by @coaston
redwan jamous โ made their first commit to this issueโs fork.
- Merge request !10Allow enabling enforced integrity on specific bundles โ (Open) created by Unnamed author
Opened a MR that allows selecting specific bundles if the entity type uses bundles and has more than one bundle. To maintain backwards compatibility, the default behavior if no bundle is selected matches the current behavior which is that the enforced integrity will apply to all bundles.
Attaching a static patch file to use with composer...
- Status changed to Closed: won't fix
about 1 month ago 10:16pm 27 February 2025 - ๐บ๐ธUnited States m.stenta
Maybe I'm misunderstanding, but the purpose of this module is to prevent orphaned references (to enforce referential integrity). Allowing enforced integrity to be turned off at a bundle level would only make it easier for these orphaned references to occur. From a purist standpoint, there probably shouldn't even be the option to enable this on a per entity type basis.
@coaston Your issue sounds like a data model problem, and working around that would just result in orphaned entities. You would be better off developing a workflow or custom business logic to allow you to delete the things you need and clean up all the references at the same time.
I'm going to close this as "won't fix" unless there's a good argument for allowing orphaned entity references that I'm missing.
- ๐ธ๐ฐSlovakia coaston
Hi yes please close this. ECA module replaces this whole module so i unistalled it already.