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

xolotl’s picture

Temporary 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.

alex_b’s picture

I know that _feedapi_mapper_create_terms() is a bit convoluted, did you try the glitch there?

xolotl’s picture

Haven'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.

alex_b’s picture

Status: Active » Closed (duplicate)

I 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).