Closed (duplicate)
Project:
Referential Integrity for CCK
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2009 at 15:29 UTC
Updated:
2 Nov 2009 at 15:59 UTC
Hi, I've seen the module: it can be safely used if the node reference field is not set to be optional. On certain case it could be useful to delete the node with the emptied node reference field.
example:
- node type 1: author (title:string, description:string)
- node type 2: book (title:string, description:string, author:node_reference (*) )
when I delete an author, all books with that author in the author field should be deleted.
What do you think about?
(*): the node_reference is not optional, you have to specify exactly one author.
Comments
Comment #1
markus_petrux commentedThis was already discussed here: #511502: Implementation of "Delete cascade" and "Delete restrict"