Task #3102 (closed)
Opened 14 years ago
Closed 14 years ago
BUG: deleting a Screen fails to delete Plate
Reported by: | cblackburn | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.2.1 |
Component: | Bin-Services | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2010-10-28 (18) |
Description
From Insight trying to delete a Screen with contents appears to succeed but leaves an orphaned Plate.
Attachments (2)
Change History (8)
Changed 14 years ago by cblackburn
comment:1 Changed 14 years ago by cblackburn
- Cc jmoore jburel added
comment:2 follow-up: ↓ 4 Changed 14 years ago by jmoore
Colin, I will need to see a server log with ome.services.delete set to DEBUG in etc/log4j.xml. Thanks.
comment:3 Changed 14 years ago by jmoore
comment:4 in reply to: ↑ 2 Changed 14 years ago by cblackburn
Replying to jmoore:
Colin, I will need to see a server log with ome.services.delete set to DEBUG in etc/log4j.xml. Thanks.
Log attached with DEBUG on for delete.
comment:5 Changed 14 years ago by jmoore
- Owner set to jmoore
- Status changed from new to assigned
Thanks, Colin. This is caused by the link from Image to Experiment which is not SOFT:
2010-10-13 20:49:48,036 DEBUG [ ome.services.delete.DeleteState] (3-thread-5) Enter savepoint 8ca9ca3a369b43d29fe268cf74fd464f: new depth=7 2010-10-13 20:49:48,043 DEBUG [ ome.services.delete.DeleteState] (3-thread-5) Rolled back savepoint 8ca9ca3a369b43d29fe268cf74fd464f with 0 ids: new depth=6 2010-10-13 20:49:48,044 DEBUG [ ome.services.delete.DeleteState] (3-thread-5) Rolled back savepoint 980177e8b6d044cbbc29fc0da202b915 with 8 ids: new depth=5 2010-10-13 20:49:48,044 DEBUG [ ome.services.delete.DeleteState] (3-thread-5) Rolled back savepoint 00b889db4608479cb158f3772df566e7 with 6 ids: new depth=4 2010-10-13 20:49:48,045 DEBUG [ ome.services.delete.DeleteState] (3-thread-5) Rolled back savepoint 9c621d3da53146b1ac6993844bbf457f with 0 ids: new depth=3 2010-10-13 20:49:48,045 DEBUG [ ome.services.delete.DeleteState] (3-thread-5) Rolled back savepoint 5b1345d6e4944ed18bd37a97427fa3c7 with 120 ids: new depth=2 2010-10-13 20:49:48,047 DEBUG [ ome.services.delete.DeleteState] (3-thread-5) Could not delete softly Screen/ScreenPlateLink/Plate/Well/WellSample/Image/Experiment: 101 due to ConstraintViolation: fkimage_experiment_experiment. Handled by Screen/ScreenPlateLink/Plate: -1
I assume one Experiment is attached to every image in the entire plate. Our options are:
- Make Image/Experiment? SOFT in all cases
- Add a delete of /Pixels/.../Image/Experiment? before we start deleting Images
I'll start writing tests and see what works out best.
comment:6 Changed 14 years ago by jmoore
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from assigned to closed
(In [8316]) Making /Image/Experiment? delete SOFT (Fix #3102)
Blitz Log