Closed (duplicate)
Project:
Feed Element Mapper
Version:
5.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2008 at 04:56 UTC
Updated:
7 Jan 2009 at 15:12 UTC
I set up an empty, freetagging drupal vocabulary and mapped a feed's tags to it, but only some of the tags were being imported. Eventually I figured out the the tags that were not imported matched already-existing tags in another vocabulary that was not associated with any feed content type.
Seems like the expected behavior would be to omit importing a tag only if it matched an existing term in a vocabulary that was associated with the feed content type.
Comments
Comment #1
xolotl commentedTemporary workaround: duplicate all terms in vocabularies NOT associated with feed content types in the vocabulary that IS associated with a feed content type and then imported posts with those tags will retain tags.
Comment #2
alex_b commentedI know that _feedapi_mapper_create_terms() is a bit convoluted, did you try the glitch there?
Comment #3
xolotl commentedHaven't dug into the code much yet, but seems maybe that during the creation of new drupal terms from feed tags, there is not a check like "taxonomy_get_vocabularies($node->type)" as there is in the taxonomy_feedapi_mapper function under the list op.
Comment #4
alex_b commentedI knew that there was an issue for this somewhere...
So, I just fixed this for 5, 6 is in queue: #354657: Taxonomy mapper: fix and simplify term creation (will create a release soon).