Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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)

ActivityDialogFails.jpg (17.1 KB) - added by cblackburn 7 years ago.
ActivityDialogFails2.jpg (14.4 KB) - added by cblackburn 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by cblackburn

This may be related. If I delete a tag or a file annotation I also get a failure message despite success. See second image.

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.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.76992 sec.)

We're Hiring!