Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I am importing data from an XML file into nodes with a 'Reference to term' field.
I use Feeds Tamper to transform the string of keywords into multiple keywords.
The term is only added to the field if it already exists in the vocabulary. Normally it should create automatically a new term, no? Bug? Or am I doing something wrong.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2061285.png | 124.74 KB | MegaChriz |
Comments
Comment #1
kreynen CreditAttribution: kreynen commentedThis seems like a bug with the way Feeds Tamper handles multiple keywords. With an "out of the box" feed importer, terms ARE created if they don't exist regardless of the taxonomy field setting. Even if the field is set to select list, a term that doesn't exist is created.
Can yo do a simple test to confirm this? Using a copy of the source, remove all but one of the terms in the element you've mapped to the taxonomy field so that Feeds Tamper isn't necessary. Configure the source so that at least one of the terms would be new. Clone the importer and remove Feeds Tamper. Run that?
Is the new term created?
Comment #2
nasia123 CreditAttribution: nasia123 commentedI ma having a similar issue... Simple Expode plugin was working fine for my taxonomy terms (select list), and know it doesn't work at all. Even if the terms exist, the node doesn't get the term ...
Comment #3
twistor CreditAttribution: twistor commentedCan you check the "Target configuration" settings on the mapping form? Feeds Tamper doesn't have anything to do with auto creating taxonomy terms. That's a separate setting.
Comment #4
DerTobi75 CreditAttribution: DerTobi75 commentedSorry for bringing this old one up!
When I check "Auto Update", the setting is not saved and no terms are added ;-(
Comment #5
MegaChriz CreditAttribution: MegaChriz commentedBe sure to hit the "Save" button on the bottom of the page after changing target configuration. See also the attached image.
Ideally, Feeds should display a message about unsaved changes when target configuration is updated.
Comment #6
DerTobi75 CreditAttribution: DerTobi75 commentedHi,
thanks for the advice MegaChriz, works fine now!
Regards,
Tobi
Comment #7
twistor CreditAttribution: twistor commented