Unable to see providers installed via Composer

Created on 26 January 2022, over 2 years ago
Updated 18 December 2023, 6 months ago

Problem/Motivation

After one of my colleagues updated the module, we are now unable to see providers we've installed via Composer through the dropdown on the 'Geocoders providers' page.
We've followed all the steps, I've come across multiple issues describing and solving a similar issue yet none of them solve anything for me.
I've also seen everyone constantly remind people to follow the official steps, I can assure you now I've done it again and again, it just does not work.

Steps to reproduce

* Upgrade from 2.x to 3.x with Composer
* Install new providers via Composer, as explained in the upgrade steps
* Run database updates
* No geocoder providers except for the default provided ones

I've done my fair share of cache clears, config detective work, .. but I can't seem to get this to work.

I am now referring to this issue:
https://www.drupal.org/project/geocoder/issues/3206916

Someone stated that uninstalling the geocoder_geofield module solves the dropdown-issue, and I can confirm this!
Disabling this module also makes me able to see the installed providers in the dropdown list.

The patch provided there however was already introduced in 3.19, and now in 3.25 it still doesn't work for me.

I've already checked in geocoder_geofield what the possible issue could be, but I can't find anything.. It seems like a very simple module that just provides its own plugins.

Any help would be greatly appreciated.

🐛 Bug report
Status

Fixed

Version

3.26

Component

Code

Created by

🇧🇪Belgium RandalV

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.

  • 🇧🇪Belgium RandalV

    I would actually like to see this issue reopened, because it persists in Geocoder 4.x.

    Could maintainers please take a look at this?

  • 🇭🇷Croatia odisei

    +1 D10 4.x same issue, new provider is not showing up

  • 🇮🇹Italy itamair

    Still all this looks referring to its parent / related issue: https://www.drupal.org/project/geocoder/issues/3153678 🐛 How to add Gecoder 3.x | 4.x providers Needs review
    and every issue should be better inspected in that long thread issue (rather than reopening this).

    In my normal scenario, on Geocoder 4.x branch, correctly installed (required with composer etc.) I don't experience all these issues ...
    Once you successfully require the specific geocoder provider (with composer require ... etc.) than you just need to clear the caches (drush cr) and you should successfully see the new geocoder providers showing up among the selectable ones in the Geococder Providers options in the "Add a Geocoder provider" select ...

Production build 0.69.0 2024