You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "sonfire186 (via GitHub)" <gi...@apache.org> on 2025/01/22 14:42:54 UTC

[I] Overwrite dashboard not work [superset]

sonfire186 opened a new issue, #31957:
URL: https://github.com/apache/superset/issues/31957

   ### 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
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [x] 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Overwrite dashboard not work [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #31957:
URL: https://github.com/apache/superset/issues/31957#issuecomment-2891719775

   Assuming the order of operations info above solved this, since it's been silent for a while. Closing, but happy to revisit/reopen if there's more to it!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Overwrite dashboard not work [superset]

Posted by "sonfire186 (via GitHub)" <gi...@apache.org>.
sonfire186 commented on issue #31957:
URL: https://github.com/apache/superset/issues/31957#issuecomment-2648540547

   > I am experiencing the same problem (v4.1.1) when trying to import a dashboard via web UI, as well as via REST API, the dashboard remains with the same number of charts instead of the charts defined in the previously exported dashboard .zip file, even with the overwrite flag.
   
   must be imported in the following order
   1.datasets
   2.charts
   3.dashbords


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Overwrite dashboard not work [superset]

Posted by "rodrigo-l-santos-alb (via GitHub)" <gi...@apache.org>.
rodrigo-l-santos-alb commented on issue #31957:
URL: https://github.com/apache/superset/issues/31957#issuecomment-2648429720

   I am experiencing the same problem (v4.1.1) when trying to import a dashboard via web UI, as well as via REST API, the dashboard remains with the same number of charts instead of the charts defined in the previously exported dashboard .zip file, even with the overwrite flag.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Overwrite dashboard not work [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #31957: Overwrite dashboard not work
URL: https://github.com/apache/superset/issues/31957


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Overwrite dashboard not work [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #31957:
URL: https://github.com/apache/superset/issues/31957#issuecomment-2607441586

   <!-- Answer -->
   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](https://github.com/apache/superset/discussions/31306) <sup>[[1]](https://github.com/apache/superset/discussions/31306)</sup>.
   
   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 <sup>[[2]](https://github.com/apache/superset/issues/31443)</sup>. This might be affecting the behavior you're observing, where the dashboard is not completely rebuilt as expected.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/8b8543de-08f1-498c-929d-ce524bbde709?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/8b8543de-08f1-498c-929d-ce524bbde709?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/8b8543de-08f1-498c-929d-ce524bbde709?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/8b8543de-08f1-498c-929d-ce524bbde709?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8b8543de-08f1-498c-929d-ce524bbde709?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/8b8543de-08f1-498c-929d-ce524bbde709?feedback_type=other)</sup>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org