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
Delete query from collection not working #824
Comments
👋🏾Thanks for opening your first issue here! Be sure to follow the issue template! ✌🏾 |
Thanks for reporting this! I'd look into it as soon as I can. |
Just ran into the same issue: It's hard to be sure, but I believe I also had two queries originally named the same thing. The problematic query is the first one from the collection 'createItem' { |
Is it fair to assume that the problematic queries were created when the collections feature was originally introduced? As @alexisdray pointed out, queries in collections originally didn't have IDs before the delete functionality was created, and there was a fallback using the query name to identify the query, which was removed much later after the collections feature was developed, with the assumption that there wouldn't be a lot of queries created with the wrong query. 3fab083#diff-e668c653afe97933b80714010e8256b4R40 As a. fix, I would re-introduce the fallback with the query name. |
It probably also makes sense to add an indicator for deprecated queries, so the developers can know to recreate them. |
Describe the bug
Attempting to deleted a query reports success but doesn't appear to actually do anything as query remains.
Expected behavior
I have two queries with the same name in the same collection but different queries and I'd like to delete one of them.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: