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

Visitor map: TypeError: undefined is not a function & various others #6289

Closed
Gnarfoz opened this issue Sep 24, 2014 · 5 comments
Closed

Visitor map: TypeError: undefined is not a function & various others #6289

Gnarfoz opened this issue Sep 24, 2014 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@Gnarfoz
Copy link

Gnarfoz commented Sep 24, 2014

When switching the metric for the map to something other than "Visits", an error is being displayed in the lower left corner:

TypeError: undefined is not a function

When switching to "bounce rate" or "avg time on website" I additionally get a legend (blue box) titled "NaN".
piwik_nan

As the screenshot shows, the tooltip appears to work correctly, though.

I have a feeling this might be related to #6288.

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Sep 25, 2014
@mattab mattab added this to the Short term milestone Sep 25, 2014
@mattab
Copy link
Member

mattab commented Sep 25, 2014

Thanks for the report. It works fine for me on demo. can you reproduce this issue on dehttp://demo.piwik.org/ ?

@Gnarfoz
Copy link
Author

Gnarfoz commented Sep 25, 2014

Yeah, almost the same there.
piwik_demo_bug

Several things of note:
The blue colouring only works when selecting bounce rate.
The colouring does not go away when selecting something else afterwards.
The tooltip only works for countries with no visits, when the map is set to visits/actions.
After switching to bounce rate and back to visits/actions, there is a tooltip for countries without any vistis, but it's the one for bounce rate.

The TypeError: undefined is not a function error in the lower left corner can be triggered very easily: just left-click anywhere on the map. 😕

@mattab
Copy link
Member

mattab commented Sep 26, 2014

what addons/plugins are used in your Chrome browser?

If you try with firefox does it work better? is the problem only in chrome maybe?

@Gnarfoz
Copy link
Author

Gnarfoz commented Sep 26, 2014

We're on the right track, it works flawlessly in Firefox!

However, it's not one of my extensions in Chrome: I disabled all of them and it still doesn't work.
But, I've tried this with Chrome beta (at work, Version 38.0.2125.66 beta-m (64-bit)) and Chrome dev (at home, Version 39.0.2166.2 dev-m (64-bit)), not with Chrome stable. So something in those newer versions of Chrome seems to be the cause.

@mattab
Copy link
Member

mattab commented Sep 30, 2014

Ok @Gnarfoz I'll close for now as I hope Chrome will get it fixed. If not please re-open in a few weeks?

@mattab mattab closed this as completed Sep 30, 2014
@mattab mattab added the wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. label Sep 30, 2014
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. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants