question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SQL Lab saved query appears as "untitled" in new SQL Lab window

See original GitHub issue

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

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

Step 3: It got saved into the saved queries list in crud view Screen Shot 2020-11-24 at 4 17 08 PM

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

This is a regression, I noticed is couple days back first, it might have been introduced couple weeks back.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
hughhhhcommented, Jan 29, 2021
1reaction
yousophcommented, Jan 15, 2021

Thanks @etr2460 ! Yeah, I think he was able to repro now so reopened the issue. I think the flag wasn’t set properly earlier so it looked like it wasn’t happening.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL Lab saved query appears as "untitled" in new ... - GitHub
Go to SQL Lab · Write query and click on Save query · Open SQL in a new browser tab (or close existing...
Read more >
Saved Queries in Preset
To create a new query, select + Query. Add_a_Query. The SQL Editor page appears featuring a new blank untitled query. New_Blank_Query. Actions ...
Read more >
Lab 2 Introduction to MS Access - Ken Goldberg
Ken Goldberg Database Lab Notes ... Lab MS Access Queries and SQL ... In the Simple Query Wizard window shown in Fig.1, click...
Read more >
Generate SQL Query and MATLAB Script - MathWorks
The Editor tab shows an Untitled file that contains the generated code that connects to the. Save the MATLAB script. You can run...
Read more >
Untitled Document
Click the ... button shown at the end of the Tables and Columns ... Review the data in the script window then save...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found