yousoph opened a new issue #11647:
URL: https://github.com/apache/incubator-superset/issues/11647


   When a user tries to save a blank query, the query doesn't get saved and the 
Save Queries page fails to load and shows an error. 
   
   ### Expected results
   In SQL Lab, the user should either not be able to save a blank query or they 
should be able to save it properly. 
   
   ### Actual results
   * When visiting the Saved Queries page, the page shows an error
   * When returning to SQL Lab or refreshing the page, the query that the user 
tried to save is not properly saved 
   
   #### Screenshots
   
   Saved Queries: 
   
![image](https://user-images.githubusercontent.com/10627051/98740636-3d776700-2360-11eb-87cc-524af693de51.png)
   
   #### How to reproduce the bug
   1. Go to SQL Lab 
   2. Make sure there is no text in the query
   3. Click the "Save" button and enter a title 
   
   ### Environment
   - superset version: `master`
   
   ### Checklist
   - [ ] 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.
   


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