I have made 2 content types and as instructed made node references.

On admin/config/system/corresponding_node_references shows up an item I click on check box.

Tried updating existing nodes process starts says 7 nodes updated but references were not created.

Tried making new nodes still no luck.

Tried dev version and 4.22 both do nothing.

My site is not multilingual I use autocomplete widget for referencing if that matters.

EDIT: Forgot to mention that on 1 content type only 1 node can be choosen while on other its unlimited.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Martijn de Wit’s picture

Having almost the same issues here.

Using Drupal 7.9. and tried the dev and latest version.
The modules gives the message "21 nodes processed successfully." but no node is updated.
I have a 1 to many relation and tried many to many relation. Can't find the problem, why the module isn't updating my nodes!

going to try this solution: http://drupal.org/node/1359668 not working for me

czigor’s picture

Version: 7.x-4.x-dev » 7.x-4.22
FileSize
7.41 KB

Please test this patch.

czigor’s picture

Maybe this way.

czigor’s picture

Priority: Normal » Major
Status: Active » Needs review

tag

C. Lee’s picture

The patch in #3 solved the problem. Thanks!

dmiric’s picture

thank you seems to work :)

Martijn de Wit’s picture

Version: 7.x-4.22 » 7.x-4.x-dev

Applied the patch, it works for me!

Tested the "update existing nodes" function and tested it with editing single nodes.

great appreciation for the quick response!!! Thanks!!

Berdir’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that the patch works as well.

Hint: To get the old node, you can use entity_load_unchanged('node', $node->nid);, see http://api.drupal.org/api/drupal/modules--node--node.module/function/nod...

Berdir’s picture

Also, even though this works, #1269136: Infinite loop might fix this as well and looks cleaner...

bforchhammer’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

So, I guess this is a duplicate then, right?

Patch #3 look almost identical to #1269136-4: Infinite loop. Would be great if we could get one of them committed soon!

radimklaska’s picture

Thank you! The patch in #3 solved the problem for me.

GeO-dupe’s picture

Hi,

I'm facing the same problem (my installation is in french) however I can't apply the patch, can someone be kind enough to upload the patched filed somewhere ? Or to send it to me to geo at facemon.net

Thanks in advance !

czigor’s picture

It's already committed, just download the dev.

GeO-dupe’s picture

Huh i'm facing the same probleme even with the dev version : no references appear in the admin panel, tho I have 2 nodes with mutual reference

GeO-dupe’s picture

Issue summary: View changes

edit