Export to PDF leaves charts empty on first export
ignasv opened this issue · 0 comments
ignasv commented
Bug description
When using the new Export to PDF functionality, we get a mostly empty PDF on the first try. Second export usually works fine. If we refresh the page - same issues reappear: first export is empty, second is fine.
The issue does not seem to impact Big Number and Table charts. But everything else: Pie Charts, Bar Charts, Area Charts, seem to be impacted.
How to reproduce the bug
- Open a dashboard which has a Pie Chart.
- Click Export to PDF
- Check PDF
Screenshots/recordings
Second click on Export to PDF:
Superset version
3.1.1
Python version
3.10
Node version
Not applicable
Browser
Safari
Additional context
No response
Checklist
- I have searched Superset docs and Slack and didn't find a solution to my problem.
- I have searched the GitHub issue tracker and didn't find a similar bug report.
- I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.