Problem:
- I have an entity reference field that can reference nodes.
- I use the multiple value widget + ability to select existing + 'delete entity if parent is deleted' enabled
- I create node A that adds a new inline node B
- I create node C that references inline node B
- I delete node A
- Node C is now missing it's referenced entity :(
Expected results:
Only delete the referenced entity if it's not referenced by other entities aside from the parent entity.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1968152-only-delete-unused-referenced-entities.patch | 1.42 KB | dave reid |
Comments
Comment #1
dave reidComment #2
dave reidActually thinking this is best left for a contrib module and that this functionality should be removed.
Comment #3
dave reid