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 #3010 (closed)

Opened 9 years ago

Closed 9 years ago

BUG: User's ROI prevents delete

Reported by: wmoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.2.1
Component: ROIs Version: n.a.
Keywords: n.a. Cc: jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-09-30 (17)

Description (last modified by wmoore)

I cannot delete my image if another user has saved an ROI on the image. Get a delete error:

ConstraintViolation:fkroi_image_image

Change History (7)

comment:1 Changed 9 years ago by wmoore

  • Cc jburel added
  • Component changed from General to ROIs
  • Description modified (diff)
  • Summary changed from BUG: User's ROI prevent's delete to BUG: User's ROI prevents delete

comment:2 Changed 9 years ago by jmoore

We will need to decide in how far this is related to #2962:

  • do we disallow as with other users' tags?
  • do we disconnect the ROI? does that make it worthless?
  • do we delete the roi (and its annotations and measurements, etc.)?

comment:3 Changed 9 years ago by wmoore

I think we delete the ROI. An ROI is more like a comment than a Tag. Only relates to a single image.

Unless we also decide that ROIs and measurements etc have some value without the image data (E.g. HCS and maybe some other cases), in which case we should also give the user the option of deleting their own image without deleting ROIs (we don't support that option now, right?).

For now I think we just delete the ROI. ?

comment:4 Changed 9 years ago by wmoore

PS. I notice that in Insight, I can force the delete of the Image by deleting the Dataset, although the other user's ROIs are not deleted.

comment:5 Changed 9 years ago by jmoore

(In [8242]) Added RoiDeleteTest (See #3010)

comment:6 Changed 9 years ago by jmoore

  • Status changed from new to assigned

comment:7 Changed 9 years ago by jmoore

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [8245]) Changing spec for /Image/Roi/ to FORCE (Fix #3010)

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.81823 sec.)

We're Hiring!