Posted by heacu on July 2, 2012 at 10:39am
4 followers
Jump to:
| Project: | Feeds |
| Version: | 7.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
content_taxonomy_feeds_set_target() had a bug whereby empty cells were importing as taxonomy tids with empty names. to fix, change FROM
// Return if there are no or empty terms.
if (!is_array($terms) || empty($terms)) {
return;
}
TO
// Return if there are no or empty terms.
if (!is_array($terms) || (count($terms) == 1 && empty($terms[0]))) {
return;
}
this relates to issues like:
http://drupal.org/node/1047894
http://drupal.org/node/1107522
Comments
#1
Where is this line of code you are referring to? In which file?
#2
right there in content_taxonomy_feeds_set_target(), as i said
#3
I think he is asking in which file...
#4
The problem persists on D7 also.
#5
hope this will help:
http://drupal.org/node/1107522#comment-5224310