Closed (works as designed)
Project:
Entity Reference Cascade Delete
Version:
7.x-1.0
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2013 at 21:12 UTC
Updated:
23 Sep 2013 at 22:03 UTC
The description of this module says
Upon parent entity deletion, it gives the option to either delete all dependent entities or drill down the tree of child entities and unselect any that you wish to maintain
However, im not able to find the way to "drill down the tree of child entities and unselect any that you wish to maintain".
In my situation, I have a parent with many children and, when a child get deleted, the only thing I need is to unselect it into the parent's field value.
Is this possible with this module?
Comments
Comment #1
sprocketman commentedStrae, have you configured the module yet? If not please make sure you go to [your-site]/admin/config/content/ercd to do so. Cascade deletion will not function unless you have configured the entity relationship type and which relationship you want to be affected.
Comment #2
strae commentedYes, I have installed and configured the module, but looks like it only delete the entities..
What I need (and maybe I understood wrong the module description) is to, in the parent node, unselect the child when this get deleted.
Let's say I have the parent node witht he field 'members', that is an entity reference field referenced to users.
If a user get deleted, I need the members field to get updated removing the deleted user...
But this module only allow to delete the parent (in my situation).. I guess i misread the description?
Comment #3
sprocketman commentedStrae, I don't think this is the correct module for your situation. What this module does is allow you to delete any/all of the child nodes if the parent node gets deleted. It doesn't update any entity reference fields. You may want to have a look here if you haven't already done so: https://drupal.org/node/1368386
Good luck!
Comment #4
sprocketman commented