Error happens right before the node is successfully created via watchdog.
Duplicate entry '778-0' for key 1 query: INSERT INTO content_field_referrers (vid, nid, delta) VALUES (778, 431, 0) in /sites/all/modules/cck/content.module on line 1207.
Then here's the corresponding error to go with this one
Duplicate entry '778-0' for key 1 query: INSERT INTO content_field_testimonials (vid, nid, delta) VALUES (778, 431, 0) in /sites/all/modules/cck/content.module on line 1207.
This is a new node so nothing is referencing this, and it wasn't set to be a reference to another node. 431 is the newly created nid. 778 is the vid & it is incremented by 2 on every new node creation. I have the rules module set up to save the node again because various tokens don't get set correctly, so this is a cheap trick that makes all my tokens work.
Comments
Comment #1
mikeytown2 commentedRelated info
http://drupal.org/node/270777#comment-1519760
Comment #2
yched commentedI've several reports about this, IIRC all were related to nodereferrer.module. Please see over there.
Comment #3
mikeytown2 commentedMoving to NodeReferrer Issue Queue
Comment #4
avpadernoComment #5
andypostSo where is a test case to find the bug? Is this really related to NodeReferrer module?
Comment #6
mikeytown2 commented#445084: Adjust module weight from 0 is where the action is. I found this bug in 3 modules, should be fairly easy to duplicate if you follow http://drupal.org/node/445084#comment-1531066. For this case, enable all Node Referrer Dependencies as well as it's self.
Comment #7
andypostSuppose this bug fixed, try to upgrade to current Beta - Multiple fields is disabled for Node Referrer fields.
Comment #8
mikeytown2 commentednope still get it with the latest dev
Comment #9
andypost@mikeytown2 can you provide more info? NodeReferrer is never save any data to database so it looks very strange!!!
Comment #10
hefox commentedI'm getting this error also and I'm not using Noderefferer, but I am using rules. Perhaps this is a rules bug instead?
Comment #11
avpadernoI am closing this issue, which is for a not supported Drupal version.