-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect dashboard opens when clicking on dashboard title #25064
Comments
@zhaorui2022 I was not able to reproduce this bug using the 3.0.0 RC2 test environment. Screen.Recording.2023-08-23.at.16.01.14.mov |
I noticed the problem always happen when you click on the |
I believe the exception you posted might be related to the bug. Could you edit the dashboard, to go Edit properties, and paste the contents of the Advanced tab? The error indicates a problem with your filter scopes. |
When I reopen the browser and reopen the dashboard directly without clicking on anything else, it does show an error in the console.
However, I am not able to click on edit dashboard for this one due to this error causing the entire page not loading. And then if I go back to the list of dashboards, the same issue happens. So maybe it is related with the error showing up in the console. |
Oh I just saw this config is set to True https://github.com/apache/superset/blob/3630d6844c0f4668f7196beadd744e582c9219bd/superset/config.py#L443C37-L443C37 while the previous version I tested had it set to False by default. Let me disabling this feature and see if it works. |
Confirming after disabling DASHBOARD_CROSS_FILTER feature flag, the issue is gone. So it seems somehow https://github.com/kgabryje/incubator-superset/blame/44e4fb1090c247121f77d7e4a03e99e715699ea8/superset-frontend/src/dashboard/util/crossFilters.ts#L59 returns undefined for the dashboard. |
@zhaorui2022 It's just that if you disable Can you disable
|
@zhaorui2022 I think I understood what was happening. If you create a dashboard with |
Thanks. The dashboard didn't have cross filter enabled. I will also cherry pick the commit and try in the test environment.
|
In the dashboard list, when clicking on some dashboards, sometimes incorrect dashboard is open. See screen record for details.
How to reproduce the bug
It doesn't always happen but reproducible.
Expected results
It always opens the dashboard I select
Actual results
Sometimes it opens the previous dashboard
Screenshots
Environment
(please complete the following information):
superset version
3.0.0rc2python --version
python 3.9node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Not quite sure if these are related but I see such stack trace in browser console
The text was updated successfully, but these errors were encountered: