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

JavaScript error in visitor map: Cannot read properties of undefined (reading 'name') #18756

Open
tsteur opened this issue Feb 7, 2022 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@tsteur
Copy link
Member

tsteur commented Feb 7, 2022

Got below after clicking around in the visitor map (zoom out and then click on a country etc). Can't reproduce exact steps right now but wanted to create the issue anyway.

visitor-map.js?cb=aed5ef3988e14fa9cba7f91adde88452:711 Uncaught TypeError: Cannot read properties of undefined (reading 'name')
at displayUnlocatableCount (visitor-map.js?cb=aed5ef3988e14fa9cba7f91adde88452:711:89)
at Object. (visitor-map.js?cb=aed5ef3988e14fa9cba7f91adde88452:816:29)
at i (jquery.min.js?cb=aed5ef3988e14fa9cba7f91adde88452:2:27151)
at Object.fireWith [as resolveWith] (jquery.min.js?cb=aed5ef3988e14fa9cba7f91adde88452:2:27914)
at z (jquery.min.js?cb=aed5ef3988e14fa9cba7f91adde88452:4:12059)
at XMLHttpRequest. (jquery.min.js?cb=aed5ef3988e14fa9cba7f91adde88452:4:15619)

image

@tsteur tsteur added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Feb 7, 2022
@sgiehl
Copy link
Member

sgiehl commented Feb 8, 2022

Wasn't able to reproduce that when clicking through the map for a while. Did that happen for a certain country only?

@tsteur
Copy link
Member Author

tsteur commented Feb 8, 2022

@sgiehl it happens when you click on a country like US, and then click again quickly while the data is still loading so that the regions are only shown for a very short time. I'll move it into backlog.

@tsteur tsteur added Bug For errors / faults / flaws / inconsistencies etc. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Feb 8, 2022
@tsteur tsteur added this to the Priority Backlog (Help wanted) milestone Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants