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

js’s picture

I 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".

js’s picture

Sorry, 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.

js’s picture

It 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.

twistor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)