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"

Bug #1654 (new)

Opened 14 years ago

Last modified 14 years ago

Feedback 1075: Error during delete — at Version 7

Reported by: omero-qa Owned by: jamoore
Priority: critical Cc: ruben.munoz@…, jburel
Sprint: n.a.
Total Remaining Time: n.a.

Description (last modified by jmoore)

http://qa.openmicroscopy.org.uk/qa/feedback/1075/

Delete issues:

  • can't find image. (haven't reproduced)
  • rois not deleted (done)
  • screen link not deleted (done)
  • See #1482

Change History (7)

comment:1 Changed 14 years ago by jmoore

  • Milestone changed from Unscheduled to OMERO-Beta4.1.1

comment:2 Changed 14 years ago by omero-qa

http://qa.openmicroscopy.org.uk/qa/feedback/1826/

Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on "plate" violates foreign key constraint "fkscreenplatelink_child_plate" on "screenplatelink"
  Detail: Key (id)=(7) is still referenced from table "screenplatelink".
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1608)
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1343)
        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:194)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:350)
        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:304)
        at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:75)
        ... 62 more

comment:3 Changed 14 years ago by jmoore

Ruben's error was:

    serverStackTrace = "ome.conditions.ApiUsageException: Error while deleting image 2750
                        Cannot find image: 2750
                        	at ome.services.delete.DeleteBean.deleteImages(DeleteBean.java:208)
                        	at ome.services.delete.DeleteBean$5.runAsAdmin(DeleteBean.java:309)
                        	at ome.security.basic.BasicSecuritySystem$1.doInHibernate(BasicSecuritySystem.java:504)
                        	at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)
                        	at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
                        	at ome.logic.QueryImpl.execute(QueryImpl.j

comment:5 Changed 14 years ago by jmoore

  • Description modified (diff)

comment:6 Changed 14 years ago by jmoore

  • Cc jburel added
  • Description modified (diff)

comment:7 Changed 14 years ago by jmoore

  • Description modified (diff)

Ruben, I haven't been able to reproduce this issue. A couple of possibilities occur to me:

  1. The security settings on the image somehow make them unfindable (unlikely)
  2. Some object which the delete bean is assuming mandatory is not present (unlikely)
  3. The images are doubly linked and so when they are looked for the second time, they've already been deleted.

Do you have any clues for me? Would it be possible to get a database dump of a plate that acts this way? Thanks!

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

We're Hiring!