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 5

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

Change History (5)

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

We're Hiring!