Download & Extend

Numerical terms not being imported as Taxonomy Terms

Project:Feeds
Version:7.x-2.0-alpha4
Component:Feeds Import
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I am trying to import via CSV.

I have a taxonomy vocabulary called year which should hold terms such as "2009","2010" etc.

The term reference on the content type is a required field, however the rows still import, yet the terms for "Year" do not import. No error is given about required fields.

I have tested changing certain values to non-numeric such as "2010a" and these import no problem.

Comments

#1

Priority:critical» normal

I got around this by padding the string with a right space using Feeds Tamper.

Due to built in trimming the terms ultimately import without the right space any way, so there doesn't seem to be a side effect.

#2

Thanks for posting this. I've been going crazy for the past hour trying to understand what was wrong with my import!

#3

Status:active» closed (duplicate)

I've added this to my going crazy list at: http://drupal.org/node/1301604. This is a duplicate of #1019688: Taxonomy mapper options: term name +tid, term name, tid, guid (avoids mapping error for Numeric taxonomy term, too)

#4

I was about to go crazy about this too! I could see what was happening in the source code, but I didn't know how to fix it. Thank you for coming back and posting your solution. It works well

#5

Ditto - was driving me crazy as it was showing category terms instead of decimals on the inline entity form view and I spent hours trying to debug - mucho thanks!!

#6

Thousand times thank you... "pad a string" made my day ;-)

nobody click here