Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | cnr_field_language_1359834_3.patch | 8.12 KB | czigor |
#2 | cnr_field_language_1359834.patch | 7.41 KB | czigor |
Comments
Comment #1
Martijn de WitHaving 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/1359668not working for meComment #2
czigor CreditAttribution: czigor commentedPlease test this patch.
Comment #3
czigor CreditAttribution: czigor commentedMaybe this way.
Comment #4
czigor CreditAttribution: czigor commentedtag
Comment #5
C. Lee CreditAttribution: C. Lee commentedThe patch in #3 solved the problem. Thanks!
Comment #6
dmiric CreditAttribution: dmiric commentedthank you seems to work :)
Comment #7
Martijn de WitApplied 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!!
Comment #8
BerdirI 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...
Comment #9
BerdirAlso, even though this works, #1269136: Infinite loop might fix this as well and looks cleaner...
Comment #10
bforchhammer CreditAttribution: bforchhammer commentedSo, 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!
Comment #11
radimklaskaThank you! The patch in #3 solved the problem for me.
Comment #12
GeO-dupe CreditAttribution: GeO-dupe commentedHi,
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 !
Comment #13
czigor CreditAttribution: czigor commentedIt's already committed, just download the dev.
Comment #14
GeO-dupe CreditAttribution: GeO-dupe commentedHuh 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
Comment #14.0
GeO-dupe CreditAttribution: GeO-dupe commentededit