Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #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)

Blitz-0.log (2.9 MB) - added by cblackburn 14 years ago.
Blitz Log
Blitz-0.2.log (1.5 MB) - added by cblackburn 14 years ago.
Blitz log with debug enabled for delete

Change History (8)

Changed 14 years ago by cblackburn

Blitz Log

comment:1 Changed 14 years ago by cblackburn

  • Cc jmoore jburel added

comment:2 follow-up: 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

(In [8315]) Passing SpwDeleteTest (See #3102, #3103)

Changed 14 years ago by cblackburn

Blitz log with debug enabled for delete

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:

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)

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

We're Hiring!