Active
Project:
Location Feeds
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2011 at 09:03 UTC
Updated:
27 Sep 2012 at 13:25 UTC
I am trying to import Users, and I have added a Location field in the profile, to be able to map and import locations field from the source (address, municipality, province ... ecc.).
No way ... I cannot see/choose any location field available for the target fields of the User.
I am working with:
Location 7.x-3.x-dev
Feeds 7.x-2.x-dev
Location Feeds 7.x-1.4
Any other experiencing this? any fix, patch or workaround?
Thanks for any support ...
Comments
Comment #1
xbery commentedYep. I have solved this by visiting admin/config/people/accounts where I hit save. I assume that this is cause by this code:
else if ($entity_type == 'user') {
$settings = variable_get('location_settings_user', array());
// Only add fields when collecting locations
if (isset($settings['multiple']['max']) && $settings['multiple']['max'] > 0) {
_location_feeds_location($targets, $settings);
}
}
starting on line 43 of the location_feeds.module. I guess that the location_settings_user variable is not initialized during installation. Can someone correct me if I am wrong?