You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "zhaorui2022 (via GitHub)" <gi...@apache.org> on 2023/09/13 22:48:55 UTC

[GitHub] [superset] zhaorui2022 opened a new issue, #25289: Closed Sqllab tabs come back with no content after refreshing page

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

   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, but in 2.0.0, the query of the last tab still shows up.
   
   #### How to reproduce the bug
   
   1. Go to Sqllab, open a few tabs and run queries
   2. Close all the tabs
   3. Refresh page
   4. 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
   
   ![Google Chrome - Superset 2023-09-13 at 3 41 20 PM](https://github.com/apache/superset/assets/105950525/44023d7d-2250-4be0-b138-e074b68f8e1b)
   
   
   ### 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!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] 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.
   


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


[GitHub] [superset] justinpark commented on issue #25289: Closed Sqllab tabs come back with no queries after refreshing

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

   @zhaorui2022 it is a known issue 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. 


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


[GitHub] [superset] zhaorui2022 commented on issue #25289: Closed Sqllab tabs come back with no content after refreshing page

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

   I was trying to do another recording with the browser local storage and realize it seems happening as long as I refresh the page, and don't need to close all the tabs.
   
   https://github.com/apache/superset/assets/105950525/25585ee8-2389-4082-a703-42e06aa62a97
   
   


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


[GitHub] [superset] zhaorui2022 commented on issue #25289: Closed Sqllab tabs come back with no content after refreshing page

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

   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.
   
   ![Google Chrome - Superset 2023-09-13 at 3 53 32 PM](https://github.com/apache/superset/assets/105950525/fa524059-0f11-4322-846d-defcc7bf1977)
   


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


[GitHub] [superset] zhaorui2022 commented on issue #25289: Closed Sqllab tabs come back with no queries after refreshing

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

   Thanks.


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


[GitHub] [superset] justinpark closed issue #25289: Closed Sqllab tabs come back with no queries after refreshing

Posted by "justinpark (via GitHub)" <gi...@apache.org>.
justinpark closed issue #25289: Closed Sqllab tabs come back with no queries after refreshing
URL: https://github.com/apache/superset/issues/25289


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