Project:Field Actions
Version:5.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I'm looking for an action to sync two nodereference fields to mimic two-way relationships between nodes (a bit like discussed here: http://drupal.org/node/120408 and http://drupal.org/node/60756). The behaviour should be like:

  • The two fields that are going to be synced should be configurable.
  • For each one of the outgoing nodereferences on the source node do something like:
    • Check the target node and find the matching field
    • add the source node as nodereference in that field
  • if removing nodereferences the action should remove the related references on any target node as well.

Does this sound sensible to have that as an action?

Comments

#1

Totally. I think it would be a great action.

So if you have an number field in Node 1 and Node 2, and I updated Node2's number field to 7, Node1's number field would also be 7.

Does this describe what you are talking about?

#2

Yes! Someone please write this module!

I tried the rules method and couldn't get that to work.... Looking into others.

nobody click here