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.
After updating Address Field from 7.x-1.1 to 7.x-1.2 the "Set marker from address field" functionality, provided by the geocoder 7.x-1.2 get lost.
Sometimes a marker is set near by, but not exactly at the corresponding place. Sometimes no marker is set.
User error: geocoder_widget_get_field_value: You must pass either $source_field_values OR $entity in geocoder_widget_get_field_value()
No other changes have been made.
Comments
Comment #2
umakart CreditAttribution: umakart commentedComment #3
ecvandenberg CreditAttribution: ecvandenberg as a volunteer commentedI use Address Field 7.x-1.2 in combination with Geocoder 7.x-1.2 and Geofield 7.x-2.3.
I display the geocoded address in a Geofield map and in a Gmap view using the Geofield module. In both cases the geocoding works fine. You say "sometimes". Can you be more specific?
And perhaps updating to Address Field 7.x-1.2 solves this issue?
Comment #4
umakart CreditAttribution: umakart commentedUpdating AdressField to 7.x-1.2 does not solve the problem, but as I wrote causing the problem.
After a rollback to 7.x-1.1 everything works fine.
Sorry, its hard for me to understand, what happens between this modules:
GeoCoder 7.x-1.2
GeoField 7.x-2.3
OpenLayers 7.x-2.0-beta11+23-dev
I can only say, that after the AdressField Update some addresses doesn´t create a marker, others set a marker a few streets further away.
The addresses are located in Berlin.
Comment #5
bojanz CreditAttribution: bojanz at Centarro commented1.2 contains mostly minor fixes (address format improvements and such) so I can't see which change could have caused a regression.
You'll have to debug this on your own (either by doing a git bisect between 1.1 and 1.2, or by jumping into the geocoder code directly).
Comment #6
umakart CreditAttribution: umakart commentedo.k., perhaps in my next life.
Comment #7
bojanz CreditAttribution: bojanz at Centarro commented