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
We have some dashboard developed in v1.5.0. After we upgrade the dashboard into v2.0.0, and use the /dashboard/export API endpoint to export the dashboards, there are unreadable characters in the exported json file.
How to reproduce the bug
Develop a dashboard under superset version 1.5.0
Upgrade superset to version 2.0.0
Use /dashboard/export API to export the dashboard into a json file
See error
Expected results
The dashboard json exported from v1.5.0 should be able to be successfully parsed by superset v2.0.0
Actual results
There are some unreadable characters.
The json file starts with this: PK!�gٝMM.dashboard_export_20220806T005733/metadata.yamlversion: 1.0.0 type: Dashboard timestamp: '2022-08-06T00:57:33.133934+00:00' PK!?�8���Fdashboard_export_20220806T005733/datasets/pinot/map_labeling_logs.yamltable_name: map_labeling_logs ...
Environment
superset version: 1.5.0 and 2.0.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.
The text was updated successfully, but these errors were encountered:
It is because in v2.0.0 dashboard is downloaded as zip file.
If you want to continue exporting dashboard as json file you need to add VERSIONED_EXPORT as False in FEATURE_FLAGS
Any update about this bug?
If we use FEATURE_FLAGS = { ... "VERSIONED_EXPORT": False, } this condition will be always false const canExport = hasPerm('can_export') && isFeatureEnabled(FeatureFlag.VERSIONED_EXPORT);
I'm assuming that since this has been quiet for so long, we're all good now? VERSIONED_EXPORT has been deprecated, and we no longer support versions prior to 3.1/4.0. If this needs more discussion, we can certainly revisit/reopen.
We have some dashboard developed in v1.5.0. After we upgrade the dashboard into v2.0.0, and use the /dashboard/export API endpoint to export the dashboards, there are unreadable characters in the exported json file.
How to reproduce the bug
Expected results
The dashboard json exported from v1.5.0 should be able to be successfully parsed by superset v2.0.0
Actual results
There are some unreadable characters.
The json file starts with this:
PK!�gٝMM.dashboard_export_20220806T005733/metadata.yamlversion: 1.0.0 type: Dashboard timestamp: '2022-08-06T00:57:33.133934+00:00' PK!?�8���Fdashboard_export_20220806T005733/datasets/pinot/map_labeling_logs.yamltable_name: map_labeling_logs ...
Environment
1.5.0 and 2.0.0
Checklist
Make sure to follow these steps before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: