Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS Error on opening Map wizard #585

Open
wt69 opened this issue Feb 6, 2025 · 2 comments
Open

JS Error on opening Map wizard #585

wt69 opened this issue Feb 6, 2025 · 2 comments

Comments

@wt69
Copy link

wt69 commented Feb 6, 2025

Bug Report

Current Behavior
When I click on the “Map wizard” I get a javascript error:

leaflet-backend.js?bust=1738840129:226 Error fetching geo data: TypeError: Cannot read properties of undefined (reading 'geoCodeUrl')
    at fetchGeoData (leaflet-backend.js?bust=1738840129:207:41)
    at LeafletBackendModule.geocode (leaflet-backend.js?bust=1738840129:229:5)
    at LeafletBackendModule.createMap (leaflet-backend.js?bust=1738840129:98:12)
    at HTMLAnchorElement.<anonymous> (leaflet-backend.js?bust=1738840129:73:12)

Expected behavior/output
I expect the marker to be set based on the address entered.

Environment

  • TYPO3 version(s): 13.4.4
  • tt_address version: 9.0.1
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
  • OS: OSX 10.13.4, Linux

Possible Solution
this == null
in Line 207 in leaflet-backend.js
No idea how to solve the problem ;-)

@wt69
Copy link
Author

wt69 commented Feb 6, 2025

I think this is a duplicate to #577

@wt69
Copy link
Author

wt69 commented Feb 6, 2025

Try current dev-master. No JS error, but Marker is not set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant