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.

Export/Import Dashboard does not import chart changes

See original GitHub issue

When changes are made to a dashboard and chart(s) and exported and imported the chart changes are not imported. Only dashboard changes seem to be imported.

How to reproduce the bug

Create a dashboard, add a few charts and export (VERSIONED_EXPORT= True). Import it into another instance for the first time and all changes are imported.

Make some changes to the dashboard AND to the charts. Export and Import. The changes to the dashboard are imported but not the changes to the charts. Some of the changes that were not imported were:

  1. Pie chart for e.g. Emit Cross Filter
  2. Big Number with trend line - Time filter, changes to filter

A simple test is to for e.g. add/change the filter for the chart. After exporting, unzip the file and verify the Chart YAML. The new filter is present. Now import, the filter change is not present in the target.

Expected results

Chart modifications are also imported

Actual results

Only dashboard changes seem to be imported

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

(please complete the following information):

  • browser type and version: Chrome
  • superset version: 1.4.1
  • python version: python --version
  • node.js version: node -v
  • any feature flags active:
  • VERSIONED_EXPORT
  • DASHBOARD_RBAC
  • DASHBOARD_CROSS_FILTER

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.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
villebrocommented, Apr 4, 2022

AFAIK all PRs that have been merged to master as of this moment related to import/export improvements should be included in 1.5.0rc1.

0reactions
srinisubramaniancommented, May 12, 2022

Closing this as a more detailed issues for 1.5.0 is created #20037

Read more comments on GitHub >

github_iconTop Results From Across the Web

Import, export, add, and share dashboards and charts
Import, share, and export dashboards​​ At the dashboards index, you can import a dashboard as JSON. From any dashboard, share it with one...
Read more >
Import or export a dashboard - Grafana
No information is available for this page.
Read more >
Exporting and importing dashboards - IBM
Exporting and importing dashboards. In Business Performance Center, exporting and importing dashboards and templates is a way to reuse dashboards and charts.
Read more >
Import and Export Your Charts Dashboards - MongoDB
Copy dashboards and change their data sources​​ Whenever you import a dashboard from a file, Charts will give you the opportunity to “remap”...
Read more >
Dashboard import compatibility - Anapedia - Anaplan
The import function does not support map, funnel, timeline, or waterfall charts. The import function does not retain the colors of charts on...
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