CCK Node Reference and revision

Events happening in the community are now at Drupal community events on www.drupal.org.
redben's picture

I am on project where i am using nodereference and while i was working on linking two node types, a question came into my mind : How does nodereference handle node revision ?
For instance when we link node A to node B and sometime later someone creates a revision for node B, does nodereference keep a reference to the old node or to the new revision ?

Comments

nodereference only stores

yched's picture

nodereference only stores nids. So the information displayed for the referenced node will always be that of the current revision

should have guess that

redben's picture

Thank you yched, you are right i should have guessed it! As you say nodereference stores nids and not vids!

http://drupal.org/project/rev

Haven't tested, but this

amitaibu's picture

Haven't tested, but this also seems to do what you need - http://drupal.org/project/annotationfield

Content Construction Kit (CCK)

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: