OK not sure where to start
Have nodes that include CCK fields, and wanted to delete old revisions. I display the results of the nodes using a view.
I first found a node i wanted to remove the revisions from, there were 4 revision. checked the aged nodes to be deleted and 3 entries were listed. Looks good so hit go nodes deleted.
The view now shows no nodes. But the node i used still exists as i typed its number, the problem is all CCK fields are now empty, which explains why Views did not detect it. Any idea where to start looking ?
I repeated the exercise and the problem was re-producable
Comments
Comment #1
Gman commentedI will look into this immediately. I used the revision deletion hook and callback, but I didn't test it extensively with CCKs. I will see why the CCK information is being deleted.
Comment #2
Anonymous (not verified) commentedIf there is any info i can provide that will help, let me know
Comment #3
Gman commentedI have updated the module to explicitly call out the revision for the CCK module hooks.
Can line 211 to
$node = node_load($data->nid, $data->vid);
I have updated the 4.7.x and 5.x branches. Should be repackaged within the hour.
Thanks for bringing this to my attention.
Comment #4
Anonymous (not verified) commentedIt appears to work a treat now.
Run it on my test site, ( a backup of the primary) and it knocked off 30mb of old revisions. and everything still appears to be working fine.
Great module
Comment #5
Gman commentedGlad to hear it worked. Thanks for the feedback.