I'm currently using the module Redhen CRM and have attached the geocode field, and address field to the organization entity. I'm currently populating the entities with a Feeds import, and the geocode data gets populated automatically.

However, I can't seem to repopulate the geocode data. According to other issues, I should be able to populate again by deleting the address data, saving the node, and then re-adding the address data. Instead, the data remains empty.

Anyone know what I'm missing, or is this potentially a bug with entities. Thanks in advanced.

Comments

bluesman2014’s picture

I seem to be getting the same issue. In my case, each user has:

  • an Address field (postal address), and
  • a Location field (geofield) which geocodes from the Address field

When a new user registers, they enter their address and the view tab of their user account shows their location correctly on a map. The user's coordinates are displayed. The GMap page (/map/user) also displays the user at their correct location. All fine.

But when a user updates their address, even just a small detail, and saves, all Location field data is lost. If they attempt to re-enter the old address, still no location is shown. Latitude and Longitude are empty.

As admin, I've tried checking 'Re-geocode' and 'Delete' in the users' accounts many times, but I can't get anything to re-appear in the location.

Has anyone else come across this issue?

Pol’s picture

Status: Active » Closed (outdated)
Kristi Wachter’s picture

Status: Closed (outdated) » Active

I'm seeing the same behavior using Geocoder 7.x-1.4 (with the patch from https://www.drupal.org/project/geocoder/issues/3002517#comment-12937777 applied), Geofield 7.x-2.4, Address Field 7.x-1.2. I have selected Force Re-Geocoding on the Geocoder configuration page.

It seems that modifying the address on a node entity DOES successfully trigger re-geocoding, but modifying the address on a user entity does not.