Adding geolocation field to taxonomy term, geocoding not working

Created on 12 December 2022, over 1 year ago
Updated 23 February 2023, over 1 year ago

Problem/Motivation

Trying to get a custom geolocation field on a taxonomy term to geocode to an address (or geofield) custom field on the term, so it can be searched in a Views exposed filter

Steps to reproduce

Create a "cities" taxonomy vocabulary, add custom address, geofield and geolocation fields in the Mange fields setup for the vocabulary. In the geolocation field, manage fields interface, Geocode the geolocation field to the address field, using Mapbox as the Geocoder provider and Geolocation geocoder V2 as the output format. Next step is to create a term in the cities vocabulary, filling out the address field. When I save the term I get a WSOD. No error message in Drupal dblog however. If I go back to manage field, geolocation and change the Geocode option to "no geolocation" the taxonomy term will save.
Note, the Geofield WILL geocode to the address field, allowing the taxonomy term to save without error. But the Geolocation field will NOT geocode without an error when saving the term.

Adding these same fields to a node, and doing the same geofield and geolocation setup works fine on my Drupal 9.4.8 setup. I want to do the same with a Taxonomy term.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Closed: cannot reproduce

Version

3.10

Component

Geolocation Field / Backend

Created by

πŸ‡ΊπŸ‡ΈUnited States paulfoos

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024