"e.map is not a function" error on time series
See original GitHub issueSince upgrading to 0.17.5, and now on 0.17.6 alpha1, I get “TypeError: e.map is not a function” in the dev console when trying to generate a line series.
- I have checked the superset logs for python stacktraces and included it here as text if any
- I have reproduced the issue with at least the latest released version of superset
- I have checked the issue tracker for the same issue and I haven’t found one similar
Superset version
0.17.5 and 0.17.6 alpha 1
Expected results
Time series chart renders
Actual results
An empty viz area and this stacktrace in the dev console. Unfortunately the JS is minified.
explorev2.0.17.6-alpha.1.entry.js:144 Uncaught TypeError: e.map is not a function
at explorev2.0.17.6-alpha.1.entry.js:144
at r.utils.state.a (explorev2.0.17.6-alpha.1.entry.js:144)
at r.utils.state.update (explorev2.0.17.6-alpha.1.entry.js:144)
at SVGSVGElement.<anonymous> (explorev2.0.17.6-alpha.1.entry.js:144)
at explorev2.0.17.6-alpha.1.entry.js:34
at $ (explorev2.0.17.6-alpha.1.entry.js:34)
at Array.ql.each (explorev2.0.17.6-alpha.1.entry.js:34)
at Array.e (explorev2.0.17.6-alpha.1.entry.js:144)
at Array.Oa.call (explorev2.0.17.6-alpha.1.entry.js:34)
at Object.b [as generate] (explorev2.0.17.6-alpha.1.entry.js:39)
Steps to reproduce
Try to create a time series chart in recent versions of Firefox or Chromium/Chrome using 0.17.5 or 0.17.6 alpha1
Note- it looks like e.map is defined just a bit earlier as seen in the screenshots here.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
"e.map is not a function" error on time series #2687 - GitHub
map is not a function " in the dev console when trying to generate a line series. I have checked the superset logs...
Read more >e.map is not a function - json - Stack Overflow
map only works on variables which has been declared like following or having data like following let e = [] //or let e...
Read more >Receiving error while iterating over a map in javascript in LWC
It looks like the Javascript object you have boatData is not an Array and hence you get an exception that .map is not...
Read more >map is suddenly not a function? - JavaScript
The .map is not a function error. This error is usually due to the fact that .map() is an array method, and does...
Read more >How To Fix object.map is not a function Error in JavaScript
To solve the object.map is not a function error, first figure out the shape of the data you are working with and then...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m getting this issue when trying to load graphs from the Explore function from SQL Lab.
when I refresh the page, the js error is gone