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
If we close all the tabs in Sqllab, and then refresh the page, all the previously closed tabs are back, but there is no actual queries in them. This issue happens in 2.0.0 as well since we had users reporting this issue with the production environment which was running on 2.0.0). But in 2.0.0, the query of the last tab still shows up.
How to reproduce the bug
Go to Sqllab, open a few tabs and run queries
Close all the tabs
Refresh page
See error
Expected results
The closed tabs are gone, and it opens a brand new tab
Actual results
Closed tabs are back with no query in it
Screenshots
Environment
(please complete the following information):
browser type and version: Chrome latest version
superset version: superset version 3.0.0rc4
python version: python --version 3.9
node.js version: node -v N/A
any feature flags active: We have SQLLAB_BACKEND_PERSISTENCE set to False, so the tabs might have been stored in browser's local storage.
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.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I was trying to do another recording with local storage showing on the side, but found that I didn't need to close all the tabs to reproduce the issue.
zhaorui2022
changed the title
Closed Sqllab tabs come back with no content after refreshing page
Closed Sqllab tabs come back with no queries after refreshing page
Sep 13, 2023
zhaorui2022
changed the title
Closed Sqllab tabs come back with no queries after refreshing page
Closed Sqllab tabs come back with no queries after refreshing
Sep 13, 2023
@zhaorui2022 it is a known issue (not a bug/regression of 3.0 nor 2.0) when PERSISTENCE_MODE sets back to false and the user has the previous persisted data, SQL Lab continuously propagates the previous persisted query editor data to NON persistence mode.
I can take a look for the hotfix.
If we close all the tabs in Sqllab, and then refresh the page, all the previously closed tabs are back, but there is no actual queries in them. This issue happens in 2.0.0 as well since we had users reporting this issue with the production environment which was running on 2.0.0). But in 2.0.0, the query of the last tab still shows up.
How to reproduce the bug
Expected results
The closed tabs are gone, and it opens a brand new tab
Actual results
Closed tabs are back with no query in it
Screenshots
Environment
(please complete the following information):
superset version
3.0.0rc4python --version
3.9node -v
N/AChecklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: