Closed (won't fix)
Project:
Taxonomy Autotagger
Version:
5.x-1.9
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2008 at 11:18 UTC
Updated:
20 Jan 2009 at 15:33 UTC
hi, it's me again
this is my current scenario
1. added new terms to vocabulary
2. reset the lowest node on auto tagging settings, so that cron will tag new terms in old content
3. ran cron
these are the errors produced:
user warning: Duplicate entry '1-291' for key 1 query: INSERT INTO term_node (nid, tid) VALUES (291, 1) in /home/panduan/public_html/homereader.org/includes/database.mysql.inc on line 172.
lots of them - i guess this refers to same node id and term id
eventually
Cron run exceeded the time limit and was aborted.
also i noted that the lowest node entry is not incremented
probably need to add a line to check if nid and tid exist first before inserting ?
thanks.
Comments
Comment #1
sdrycroft commentedIt's a warning, not an error, don't worry about it.
The fact that cron timed out, rather than finishing, probably explains why the lowest node ID is not incremented.
I should also add that Autotag was designed as a user interaction tool, and not as a service that runs on cron, which was intended to be purely supplemental.
I'll leave this issue open for now, as I should probably fix the warning messages (I think I know what the issue is), although it's not a high priority.
Comment #2
sdrycroft commentedApologies, but I'm marking this as "won't fix". We're currently pushing all our modules up to D6, and won't be fixing any D5 bugs (unless major). D5 is no longer a supported release.
Comment #3
kenorb commentedit's also Drupal 6.x bug:
#361509: Duplicate entry for taxonomy SQL query