You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I delete a chart on the dashboard. I save the dashboard and export it.
Then I return to the dashboard and add a new chart, save the dashboard.
Return to the main page and click import previously saved dashboard with OVERWRITE. Then the added chart after export will be in the new imported dashboard.
I expect the dashboard to be completely rebuilt based on the data from the import. BUT I get an extra chart that I added after export.
Screenshots/recordings
No response
Superset version
4.1.1
Python version
3.9
Node version
16
Browser
Chrome
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.
The text was updated successfully, but these errors were encountered:
I found a similar unsolved discussion regarding the import functionality with overwriting all related objects, including charts and datasets. You can view the discussion here[1].
Regarding the issue you're experiencing, the expected behavior of the OVERWRITE option when importing dashboards in Superset is to replace existing dashboards with the imported ones. However, there is a known limitation in version 4.1.1 where the import process requires all dependencies to be included in the import bundle, and it does not support referencing existing dependencies in the target system [2]. This might be affecting the behavior you're observing, where the dashboard is not completely rebuilt as expected.
Bug description
If I delete a chart on the dashboard. I save the dashboard and export it.
Then I return to the dashboard and add a new chart, save the dashboard.
Return to the main page and click import previously saved dashboard with OVERWRITE. Then the added chart after export will be in the new imported dashboard.
I expect the dashboard to be completely rebuilt based on the data from the import. BUT I get an extra chart that I added after export.
Screenshots/recordings
No response
Superset version
4.1.1
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: