-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User can't save query without query text #669
Comments
Can't reproduce.. I created a query, saved, it worked. Also tried creating, renaming and saving. |
STR:
|
I tried pressing the save button and it worked through there. This happens because update to the name/description is considered a partial update and sets only the name/description field. When that happens and a query was just created, there's no id, so the api call that is used is 'create query' and not 'update query'. 'create query' expects a data source id. |
OK, it makes sense now. How about we don't try doing partial save until
|
…et (with all the data)
Fix #669: save fails when doing partial save of new query
Fix getredash#669: save fails when doing partial save of new query
(seems like it doesn't pass the
data_source_id
)The text was updated successfully, but these errors were encountered: