I am having a problem which I believe is similar to http://drupal.org/node/1145136 except that it is with the Province (lat and long are being imported fine).

In the Node processor mapping:

xpathparser:7 location_cck module: field_location.State/Province

In the XPath XML parser setting:

field_location:province: province

And the debug on the parsing shows:

xpathparser:0:
My location name
xpathparser:7:

NY

However, when I look at the node created the province field is empty. All other fields are filled in as defined in the XPath parser settings.

Location 6.x-3.x-dev
Feeds 6.x-1.x-dev
Feeds XPath Parser 6.x-1.11
Location Feeds 6.x-1.x-dev

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

elliotttf’s picture

Don't suppose you could export a feature with:

  • The content type you're importing to.
  • The feed definition you're importing with.
  • A sample feed file that I can test with.

That will help me debug this. Thanks!

bignall’s picture

Here it is, thanks!

elliotttf’s picture

Great, thanks. I've confirmed your issue, will start looking into this.

elliotttf’s picture

Assigned: Unassigned » elliotttf
Status: Active » Needs review

Ok, it appears the extra spaces in your fields blew up the location module 'NY ' != 'NY'. The 6.x-1.x and 7.x-1.x codebases have a fix applied. Could you test and let me know how it goes? Thanks!

elliotttf’s picture

Status: Needs review » Fixed

This has been applied in the latest release. Let me know if you still have issues.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

alexmoreno’s picture

is it solved on 6 version of the module? I have the same problem in country and other fields of locations :-(

MsG’s picture

Still having this issue. On 6.15