Hi,
I see this error coming up after pressing refresh on my feed. I use feedapi 1.2 on drupal 5.
user warning: Duplicate entry '3033-4342' for key 1 query: INSERT INTO term_node (nid, tid) VALUES (4342, 3033) in /home/public_html/includes/database.mysql.inc on line 172.
greetings,
Martijn
Comments
Comment #1
aron novakDo you use feedapi_inherit processor? Is the taxonomy inheriting turned on?
Does the parent feed has terms?
Does the inheriting works or not?
Comment #2
summit commentedHi,
Yes I use feedapi_inherit. Yes the taxonomy inheriting is turned on at the contenttype feed.
The parentfeed has one term. Yes this term is inherited to the feed-items.
Sorry for not telling this info on the initial bugreport
Thanks again for going into this.
greetings,
Martijn
Comment #3
aron novakWell, I tried to reproduce this bug, but without success.
Can you tell me a little bit more about the circumstances when these messages appear?
I simply added an empty vocabulary and set the inheriting for a feed. No error appeared.
Does it appear when you refresh a feed first time after creating the feed? Or does it appear later?
Comment #4
summit commentedHi Aron,
This happens after refreshing a feed which already exists with more than twenty feed-items.
When I first delete all the feed items and then hit refresh, the error does not occur.
But when I hit refresh with an excisting feed with more than 20 feed-items, the error occurs.
Thanks for going into this!
greetings,
Martijn
Comment #5
aron novakCan you give me access to the site (or a copy of the site)? Sometimes this is the fastest way to solve these hard-to-reproduce bugs.
Comment #6
summit commentedHi Aron, with the newest 5*.dev version (june 2008) the error still remains.
Off course you can have access to the site to try yourself if you are still in the blue related to this error. Please PM me for this, ok?
greetings,
Martijn
Comment #7
kenorb commentedThis problem still persist.
How to reproduce the bug:
Make sure that you have pathauto module installed.
1. Create some test url feed content (i.e. http://feeds.feedburner.com/EnglishAsASecondLanguagePodcast)
2. Refresh the items.
3. Delete them.
4. Refresh again.
You should see the error:
Tested on 6.9
Probably menu aliases are not deleted when the items are.
Comment #8
alex_b commentedShouldn't pathauto delete URL's with their nodes? Looks like a pathauto issue to me.
Comment #9
kenorb commentedMarked #324632: "Duplicate entry" error for the feed - after manually changing the alias for an item as duplicate.
Comment #10
greggles@alex_b: It depends how the nodes are deleted. If the nodeapi op=delete is invoked then yes. If not...
If we look at the original bug report, it is a duplicate entry error, but on a wholly different database table. I think this issue was incorrectly repurposed from a feedapi issue to a Pathauto issue...
Comment #11
kenorb commentedComment #12
kenorb commentedComment #13
kenorb commentedVersion 6.x is no longer supported due to Drupal 6 End of Life.