You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "rusackas (via GitHub)" <gi...@apache.org> on 2026/03/11 19:17:25 UTC

Re: [I] Dashboard filters scopes are not carried while export/import dashboards [superset]

rusackas commented on issue #19944:
URL: https://github.com/apache/superset/issues/19944#issuecomment-4041574221

   Thank you for the continued reports. The root cause is understood: cross-filter scoping is stored using internal integer chart IDs in the dashboard's `chart_configuration` metadata, and the import process does not remap those IDs when new ones are assigned. Native filter scoping (which uses UUIDs/keys) does survive import correctly.
   
   If anyone can confirm this still occurs in Superset 5.x or 6.x and is interested in contributing a fix, the relevant code path is in `superset/commands/dashboard/importers/v1/utils.py` — specifically the `update_id_refs` function, which would need to be extended to also remap IDs within `chart_configuration.crossFilters.scope.excluded` and `chartsInScope`.


-- 
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