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

[Dashboard] Adding charts from new samples data in Dashboard edit mode throws unexpected error #12480

Closed
3 tasks
ktmud opened this issue Jan 13, 2021 · 4 comments · Fixed by #12483
Closed
3 tasks
Labels
#bug:regression Bugs that are identified as regessions dashboard:editmode Related to te Dashboard edit mode

Comments

@ktmud
Copy link
Member

ktmud commented Jan 13, 2021

Screenshots

image

Adding the new sample charts from the video_game_sales dataset to a new dashboard in the Edit mode will render the chart with an unexpected error, which seems to come from trying to getting datasource:

The error message says "Cannot find viz object"

Saving the dashboard and refresh the whole page, the charts can correctly render.

How to reproduce the bug

  1. Duplicate a sample dashboard (e.g. "Sales Dashboard" and "FCC New Coder Survey 2018") and check "Also duplicate chart":
    image
  2. Go to dashboard edit mode
  3. Add the chart from the sample dataset

Environment

Latest master

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are 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.

Additional context

Add any other context about the problem here.

@ktmud ktmud added #bug Bug report dashboard:editmode Related to te Dashboard edit mode labels Jan 13, 2021
@junlincc junlincc added P1 Priority item - Major #bug:regression Bugs that are identified as regessions and removed #bug Bug report labels Jan 13, 2021
@junlincc
Copy link
Member

junlincc commented Jan 13, 2021

removing p1 tag, this is only happening to the new added sample charts.

@junlincc junlincc removed the P1 Priority item - Major label Jan 13, 2021
@junlincc junlincc changed the title [Dashboard] Adding charts in Dashboard edit mode throws unexpected error [Dashboard] Adding (sample) charts in Dashboard edit mode throws unexpected error Jan 13, 2021
@junlincc junlincc changed the title [Dashboard] Adding (sample) charts in Dashboard edit mode throws unexpected error [Dashboard] Adding (new sample) charts in Dashboard edit mode throws unexpected error Jan 13, 2021
@ktmud ktmud changed the title [Dashboard] Adding (new sample) charts in Dashboard edit mode throws unexpected error [Dashboard] Adding video_game_sales charts in Dashboard edit mode throws unexpected error Jan 13, 2021
@ktmud ktmud changed the title [Dashboard] Adding video_game_sales charts in Dashboard edit mode throws unexpected error [Dashboard] Adding charts from new samples data in Dashboard edit mode throws unexpected error Jan 13, 2021
@junlincc
Copy link
Member

Screen Shot 2021-01-12 at 10 42 30 PM

@ktmud do you know why the new samples data is not showing in the data table? is it also related?

@ktmud
Copy link
Member Author

ktmud commented Jan 13, 2021

I'm not sure because I can't reproduce.

However, may I report another cosmetic issue:

image

Is this drop-shadow intended?

@junlincc
Copy link
Member

Is this drop-shadow intended?

we didn't have a design for Data table section due to time constraints. we are merely using whatever comes with the component, i believe. it doesn't bother me much, but i agree the entire Explore page still needs a lot of cosmetic improvement. @Mihir14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug:regression Bugs that are identified as regessions dashboard:editmode Related to te Dashboard edit mode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants