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

Chart disappears in standalone slice #12557

Closed
3 tasks done
duynguyenhoang opened this issue Jan 15, 2021 · 1 comment
Closed
3 tasks done

Chart disappears in standalone slice #12557

duynguyenhoang opened this issue Jan 15, 2021 · 1 comment
Labels
#bug Bug report validation:required A committer should validate the issue

Comments

@duynguyenhoang
Copy link
Contributor

As we implemented resizable panels in #12411

But this introduce issue with standalone slice, example http://localhost:8088/superset/explore/?form_data=%7B%22slice_id%22%3A%20185%7D&standalone=true

In standalone mode, chartWidth is set to undefined, which cause chart disappear

Expected results

Chart should be rendered properly in standalone url

Actual results

Chart disappears in standalone url

How to reproduce the bug

  1. Go to standalone slice URL, example http://localhost:8088/superset/explore/?form_data=%7B%22slice_id%22%3A%20185%7D&standalone=true
  2. See error, the page is empty.

Environment

(please complete the following information):

  • superset version: mater
  • python version: 3.8
  • node.js version: v12.19.0

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.
@duynguyenhoang duynguyenhoang added the #bug Bug report label Jan 15, 2021
@junlincc junlincc added the validation:required A committer should validate the issue label Jan 15, 2021
@duynguyenhoang
Copy link
Contributor Author

I found the root cause, going to create PR couple of hours later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report validation:required A committer should validate the issue
Projects
None yet
Development

No branches or pull requests

2 participants