Hi Everybody. When I tried to add taxonomy terms to new nodes from Raw->tags, all the terms would come out in one clump, like "News, Technology, Hardware." I looked in the code and found that the string was being put into the array without being split first. So I changed the array function to to explode by commas, which solved the problem.

I'm new to drupal development, so please let me know if that was the right way to fix the problem.

if (is_string($feed_element)) {
$feed_element = array($feed_element);
}

if (is_string($feed_element)) {
$feed_element = explode(", ",$feed_element);
}

CommentFileSizeAuthor
#2 feedmapper-taxonomy-675398-2.patch594 bytesfmitchell
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Summit’s picture

Hi,
Could you make a patch of this please? So it can in. And may be also for feeds module?
greetings, Martijn

fmitchell’s picture

Status: Active » Needs review
FileSize
594 bytes

patch submitted