- Issue created by @troesler
- Status changed to Needs work
about 2 years ago 4:19pm 23 January 2023 - 🇮🇹Italy itamair
It seems this is not working anymore with Drupal core 9.5. Some regression ... Inspecting now.
- 🇮🇹Italy itamair
I am experiencing now a weird behaviour.
On the Drupal Leaflet Demo page:
https://www.geodemocracy.com/drupal_geofield_stack_demo/web/geoplaces-ma...
the Geocode Autocomplete input looks working fine to me, with:
Drupal Core 9.5.2
Leaflet 10.0.6The weird thing is that it doesn't to the Administrator user, though having given the "Access Geocoder Api Url Enpoints" permission (needed) to the authenticator user ...
This is something that needs further investigation.
- 🇳🇱Netherlands SanderJP
I just ran into a similar issue where the address search is working for anonymous but not for logged in users. Can you test if the attached patch fixes the issue? I've removed setting the
form-autocomplete
class on the search input. It fixes my issue but I'm not sure yet if this change has any other effects, a quick search seemed it was only used for some styling. - 🇮🇹Italy itamair
thanks @SanderJP ... but nope, your patch would remove the throbber circle in the input autocomplete element.
Though it pointed me to the proper and more solid fix that I attach here as a patch.
PS: also please comply with proper naming convention when providing your patches in drupal.org ( https://www.drupal.org/docs/develop/git/using-git-to-contribute-to-drupa... → ) - Status changed to Fixed
about 2 years ago 11:07pm 25 January 2023 - 🇮🇹Italy itamair
#6 patch properly tested and QAed, was committed into dev and will be part of the incoming 10.7 Leaflet module release.
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
11 months ago 2:57pm 2 May 2024 - 🇪🇸Spain einarulfhednar
Hello to all,
First of all, thank you for the solution.
I tried to apply the patch for version 2.2.12 of the module on the portal I'm working on (Drupal version 9.5.9 and PHP version 8.0.30) and it failed, so I have generated the patch.
Regards.
- 🇩🇪Germany ThuleNB
Hello,
I am also facing the issue that the autocomplete is working for ananymous users but not for logged-in users (including admin). Just installed 10.2.17 version of this module but still not working.
Does anybody has an idea how I can resolve this problem?