Unable to update Saved Queries #31369
Labels
preset:bounty:bug
Bugs that have been selected by Preset and have a bounty attached.
preset:bounty
Issues that have been selected by Preset and have a bounty attached.
sqllab:saved_queries
Bug description
Description
Users can save queries from the SQL Lab for future reference or reusability. However, accessing the saved queries from the list creates a new saved query upon saving the changes rather than updating the existing saved query
How to reproduce the bug
Expected results
The query will have an update or save as new option. User should see a Save As modal that allows them to update their current query (see screenshots below)
Actual results
The query can only be saved as a new saved query.
Other Details
Query can be updated as long as the query tab is not closed. Any tabs that are opened later will show the incorrect modal without the Save as New / Update options.
Screenshots/recordings
What the user currently sees when trying to save a query:
Save modal should look like the below when editing your existing query:
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: