A mapping to a taxonomy term reference field leads to an empty taxonomy term (no name) being created and mapped. This happens when the feeds mapping is configured to "auto create" new terms.

CommentFileSizeAuthor
#1 feeds-2166369-1-empty-taxonomy-term.patch537 bytesmilesw

Comments

milesw’s picture

Status: Active » Needs review
StatusFileSize
new537 bytes
// Allow mapping the string '0' to a term name.
if (empty($terms) && $terms != 0) {
  return;
}

No strict comparison means $terms != 0 is FALSE for empty strings and whitespace.

Simple fix, here's a patch.

twistor’s picture

Status: Needs review » Closed (duplicate)