question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

e.map is not a function explore view

See original GitHub issue

I 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: image

How to reproduce the bug

while debugging on all exceptions

  1. create a table viz with specified columns and no metrics
  2. attempt to switch the viz type to line or time series bar chart
  3. 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
issue-label-bot[bot]commented, Jan 14, 2020

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.

0reactions
micimizecommented, Mar 21, 2020

@mistercrunch stalebot out here closing issues without inactive tags

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found