Closed (fixed)
Project:
Wordpress Import
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
27 Nov 2009 at 17:34 UTC
Updated:
22 Dec 2009 at 06:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
kmontyI've been trying to track down the issue and what I have found so far is this:
1) The script initially imports all the tags correctly
2) When the script trying to import the entries, it does not accurately map the tags to their newly created drupal terms, so it creates new tags as numbers. (see attached taxonomy "list terms" screenshot)
Any ideas?
Comment #2
kmontyFound the bug. Function "wordpress_import_process_post_categories_tags()"
When you save the categories (which is not a "tags" vocabulary), the function saved the terms by term ID (which is how Drupal does it when editing a node). However, when you save something that has autocomplete freetagging, Drupal saves the terms by based on the text string, rather than an exploded string of term ids. I had to edit the section of the function that processed the tags to not do the conversion from text to tid:
Comment #3
barrapontoi can confirm the bug. can you create a patch file so i can test your code?
Comment #4
lavamind commentedFixed in 6.x-2.x-dev.
Thanks!