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.
I first posted this in the extractor issues
http://drupal.org/node/1215934
but it now looks like something in "feeds" has changed between beta10 and beta11.
The problem is that the term is not added to taxonomy correctly. It has name = 'Array'.
The versions of "extractor" and "geotaxonomy" have not changed.
I have tried to go through the code to see what has changed and what is happening (for hours), but I don't see the problem.
function placemaker_extract($text, $config) seems to pass an array with an error, but beta10 handles it fine.
Any help is appreciated.
Comments
Comment #1
js CreditAttribution: js commentedI am sorry, but I just updated "feeds" beta11 into Managing News (drupal 6.19) and it works fine.
I am not sure where to investigate. I can see that Placemaker is performing the lookup, and the only problem appears to be how the returned array is added to the term in "tags".
Comment #2
js CreditAttribution: js commentedSorry, wrong again.
In #1, I changed the extractor, but did not change the processor, I am experiencing the same problem with Managing News.
The variation is that the terms are extracted fine for "Data processor", but not for "Node processor". This is true for both beta10 & beta11.
Comment #3
js CreditAttribution: js commentedIt appears that all the taxonomy fields are processed with a mapping to
taxonomy_feeds_set_target in
/feeds/mappers/content_taxonomy.inc
where the extracted geo term is not being handled correctly.
I don't know if there should be an alter function in extractor or what to do, really.
I also don't see what format a geo term should be attached to the node before saving or an alter function to update geotaxonomy tables when the node is saved.
I would appreciate any tips on how this should work.
Comment #4
twistor CreditAttribution: twistor as a volunteer commented