nodereference, reference not deleted
drupalftw - August 13, 2009 - 12:52
| Project: | Content Construction Kit (CCK) |
| Version: | 6.x-2.5 |
| Component: | nodereference.module |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I'm confused.
I have a content type with a nodereference field. If I create a node with the nodereference field (node 'A') and reference node 'B'.
I then delete node 'B' (the referenced node). There is still a reference to node 'B' when I visit node 'A''s edit page. There is no title but still showing [nid: 3] in the autocomplete field. If I check the database content_field_ there is also a reference to node 'B' and also in cache_content.
Is this a bug or am I supposed to handle the deletion myself?
Tested with Drupal 6.13 and cck-6.x-2.5.

#1
This kind of cleanup is not performed by CCK. You should take care of this yourself, or you may want to look at CCK Referential Integrity module.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.