Cytomine-core
Cytomine-core copied to clipboard
Cannot delete image even after it has been deleted from project
Hi,
Firstly thank you to the developers of Cytomine. I am very grateful for your work.
I am encountering the same issue as #1225 which was marked as fixed by the user but without explaining the solution.
Steps to reproduce:
- Create a project
- Upload an image to that project
- Delete image from project
- Attempt to delete image from Storage
Error message in web UI: Failed to delete the uploaded file (unexpected error)
Logs:
15-01-2023 13:45:24,763 WARN ConstraintException - This slice be.cytomine.image.AbstractSlice : 3528 cannot be deleted as it has already been insert in projects [Amazing project]
15-01-2023 13:45:24,764 ERROR RestController - This slice be.cytomine.image.AbstractSlice : 3528 cannot be deleted as it has already been insert in projects [Amazing project]
I am running the following versions.
cytomine/core:v3.2.3
cytomine/web_ui:v1.4.0
Sorry if I have forgotten to include any important information.
Thank you again.