e.map is not a function explore view
See original GitHub issueI encountered #2687 while casting from a table visualization with specified columns to a bar chart time series. Refreshing the page gets rid of the issue
Expected results
Moving between viz modes does not crash the slice explorer
Actual results
I reproduced #2687 by attempting to switch from a table viz to a time-series bar chart viz after creating the chart via the explore
button in sql lab, and debugged on the exception to see:
How to reproduce the bug
while debugging on all exceptions
- create a table viz with specified columns and no metrics
- attempt to switch the viz type to line or time series bar chart
- Error should be thrown. You should see that
e
in the console is the above structure
Environment
(please complete the following information):
- superset version: I’m on a slightly modified fork of
0.34.0
. Others in the comments of #2687 corroborate. Would be surprised if it had been fixed
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Map function in react (err: TypeError: e.map is not a function)
I've tried to reach the data from the child component, but it din't work (probably because of the map function).
Read more >e.map is not a function explore view · Issue #8961 - GitHub
I encountered #2687 while casting from a table visualization with specified columns to a bar chart time series. Refreshing the page gets rid ......
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 >TypeError Handling in React.js for Map Function | Pluralsight
map () function gives this error: Uncaught TypeError: this.props.data.map is not a function . You have verified that data is being fetched and ......
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
Issue-Label Bot is automatically applying the label
#bug
to this issue, with a confidence of 0.92. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
@mistercrunch
stalebot
out here closing issues withoutinactive
tags