The taxonomy_xml module allows one to import (and export) taxonomy files in XML and CSV format. The import works OK, but causes problems with path_redirect. A set of additional entries is made in the path_redirect table with a redirect value of 'taxonomy/term/' and a null query.
I also get:
user warning: Duplicate entry 'taxonomy/term/461-' for key 2 query: INSERT INTO path_redirect (path, redirect, language, type, last_used) VALUES ('taxonomy/term/461', 'taxonomy/term/', '', 301, 1236900180) in D:\development\drupal\NVFA\branches\1.4\drupal\includes\common.inc on line 3425.
for every taxonomy term imported.
Ideas?
Comments
Comment #1
dave reidHmm...the path_redirect module doesn't automatically add any redirects for taxonomy terms, but I'm guessing that the pathauto module is creating these. Let's bounce this to greggles in the pathauto queue because I think I saw an issue about this there.
@Liberation: What version of pathauto are you using?
Comment #2
gregglesThis does sound similar to existing pathauto issues. Please make sure you are using Pathauto 6.x-1.x-dev.
Comment #3
dave reidMarked #401624: Term redirect issue as a duplicate of this one as well.
Comment #4
dave reidI found the original issue...so this is a duplicate of #278368: taxonomy_term_path being passed TID instead of Term Object. We can re-open if this is actually still a bug in the latest 6.x-1.x-dev of pathauto. I will note that I haven't had this problem on any of my sites and their taxonomy, using latest 6.x-1.x-dev.
Comment #5
Liberation commentedI am happy to report that using 6.x.1.x-dev of 2009-03-08 appears to fix this problem, and taxonomies can be imported via taxonomy_xml without difficulty now.
Thanks all for the prompt responses. :)