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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
