- Issue created by @rhovland
getInfo() in src/Element/AddressAutocomplete.php is cached by drupal, even in a dev environment with caching turned off.
If the site administrator changes the auto complete provider in the settings between google maps and the others the cached library will not update and the wrong library will be loaded.
Change the provider from something other than google maps to google maps. Type an address in an autocomplete box. Check site logs. The session key from the google-maps.js is missing and you get a php error. Check the browser's network log. google-maps.js did not load.
Clear the site cache. Now it loads.
Add a cache tag to getInfo() so the cache is invalidated when the settings are changed.
Active
1.0
Code