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
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

markus_petrux - August 13, 2009 - 13:39
Status:active» fixed

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

System Message - August 27, 2009 - 13:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.