Closed (fixed)
Project:
Leaflet
Version:
10.0.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jan 2023 at 15:20 UTC
Updated:
14 Jun 2024 at 12:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
troesler commentedComment #3
itamair commentedIt seems this is not working anymore with Drupal core 9.5. Some regression ... Inspecting now.
Comment #4
itamair commentedI 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.6
The 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.
Comment #5
sanderjp commentedI 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-autocompleteclass 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.Comment #6
itamair commentedthanks @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...)
Comment #8
itamair commented#6 patch properly tested and QAed, was committed into dev and will be part of the incoming 10.7 Leaflet module release.
Comment #9
troesler commentedThanks @SanderJP & @itamair :)
Comment #11
angel ruiz commentedHello 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.
Comment #12
thulenb commentedHello,
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?