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
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
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
We will need to decide in how far this is related to #2962: