zuzana-vej opened a new issue #11804:
URL: https://github.com/apache/superset/issues/11804


   When user saves a SQL Lab query, and then opens a new browser tab and loads 
SQL Lab (or closes browser and opens SQL Lab again later), the earlier saved 
query is labeled as "untitled query". The query is however saved and view from 
the saved queries CRUD view.
   
   ### Expected results
   
   The query tab should have the correct title of the saved query.
   
   ### Actual results
   
   The query tab is labeled as untitled.
   
   #### Screenshots
   
   Step 1: Save a query.
   ![Screen Shot 2020-11-24 at 4 16 37 
PM](https://user-images.githubusercontent.com/61221714/100166238-11d0a280-2e71-11eb-8add-f1722e2ca559.png)
   
   Step 2:
   Open SQL Lab in a new browser tab - see bug, the earlier saved query is 
Untitled.
   ![Screen Shot 2020-11-24 at 4 16 53 
PM](https://user-images.githubusercontent.com/61221714/100166278-29a82680-2e71-11eb-896a-28b39aedc451.png)
   
   Step 3:
   It got saved into the saved queries list in crud view
   ![Screen Shot 2020-11-24 at 4 17 08 
PM](https://user-images.githubusercontent.com/61221714/100166292-33318e80-2e71-11eb-991b-ee95f89cb415.png)
   
   
   #### How to reproduce the bug
   
   1. Go to SQL Lab
   2. Write query and click on Save query
   3. Open SQL in a new browser tab (or close existing tab and open SQL Lab 
again)
   4. See issue - the earlier saved query is shown as unitled.
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `superset master`
   
   ### 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.
   - [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
   
   This is a regression, I noticed is couple days back first, it might have 
been introduced couple weeks back.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to