Task #9310 (closed)
Opened 7 years ago
Closed 7 years ago
Bug: Deleting images with attachments
| Reported by: | cblackburn | Owned by: | jburel |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-4.4.4 |
| Component: | Insight | Version: | n.a. |
| Keywords: | n.a. | Cc: | jamoore, cxallan |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
In the case where I delete an image but choose not to delete its tag and file annotation (Scenario 7.1) the delete works and according to the sql query the tag and annotation are still in the db and the image is gone. However, the activity dialog reports a failure. See attached screenshot.
The behaviour seems correct so not marking for 4.4.0
Attachments (2)
Change History (6)
comment:1 Changed 7 years ago by cblackburn
Changed 7 years ago by cblackburn
Changed 7 years ago by cblackburn
comment:2 Changed 7 years ago by cblackburn
Finally, same problem with editor file. Attachment is deleted but activity dialog says that it has failed.
comment:3 Changed 7 years ago by jburel
using latest code. I have deleted images with attachment any problems as an admin or basic user
comment:4 Changed 7 years ago by cblackburn
- Resolution set to worksforme
- Status changed from new to closed
I cannot reproduce this using the latest code (OMERO.insight-4.4.1-497-b1200cd-ice33-b164-mac). Closing as worksforme.
This may be related. If I delete a tag or a file annotation I also get a failure message despite success. See second image.