-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix not being able to delete folder in data-model #11432
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Nitwel thanks! Mind adding a e2e test case for deleting collections? That way we can make sure this doesn't happen again 🙂
easy fix here is to use In Jest, it's always the question of |
Is there any way to force delete a folder pending this to be released? I don't have (easy) direct access to the database so using the app/API would be ideal. |
You should be able to use the folders endpoint to delete it still: https://docs.directus.io/reference/system/folders/#delete-a-folder |
I tried this last week but got a similar error as in the app. I however solved it by accessing the database directly for now. |
Due to folders not being represented as a collection in the DB, the request would fail as it would try to delete a non existing collection.