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 #6908 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

BUG:Tagging screening data

Reported by: omero-qa Owned by: jburel
Priority: minor Milestone: OMERO-Beta4.3.3
Component: Insight Version: n.a.
Keywords: n.a. Cc: jay_copeland@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-10-13 (1)

Description

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

Comment: Tagging one row of images in a screen.

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot update the object.
	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:911)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.createObject(OMEROGateway.java:2925)
	at org.openmicroscopy.shoola.env.data.OmeroMetadataServiceImpl.linkAnnotation(OmeroMetadataServiceImpl.java:484)
	at org.openmicroscopy.shoola.env.data.OmeroMetadataServiceImpl.saveData(OmeroMetadataServiceImpl.java:1021)
	at org.openmicroscopy.shoola.env.data.views.calls.StructuredAnnotationSaver$1.doCall(StructuredAnnotationSaver.java:90)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:680)
Caused by: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot update the object.
	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:911)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.saveAndReturnObject(OMEROGateway.java:3028)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.createObject(OMEROGateway.java:2923)
	... 10 more
Caused by: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: could not insert: [ome.model.annotations.WellSampleAnnotationLink]; SQL [insert into wellsampleannotationlink (child, creation_id, external_id, group_id, owner_id, permissions, update_id, parent, version, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; constraint [wellsampleannotationlink_parent_key]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [ome.model.annotations.WellSampleAnnotationLink]
                        	at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637)
                        	at 

Change History (5)

comment:1 Changed 12 years ago by jburel

  • Component changed from from QA to Insight
  • Milestone changed from Unscheduled to OMERO-Beta4.3.3
  • Sprint set to 2011-10-13 (1)

comment:2 Changed 12 years ago by jburel

  • Status changed from new to accepted

The reported error highlighted another issue.
If several images within a plate are selected, then annotated. The annotation will be added to the first image and then to the well sample of the other images in the list.

comment:3 Changed 12 years ago by jburel

  • Resolution set to fixed
  • Status changed from accepted to closed

see github feature/bugsInsight4.3.2 a8e7ccb

comment:4 Changed 12 years ago by jburel

To test:

  • Import a plate with several well samples.
  • Select few images in the row.
  • Tag the selected images
  • Now select one by one the images previously selected
  • The tag should be attached to each image.

comment:5 Changed 12 years ago by Jean-marie Burel <j.burel@…>

  • Remaining Time set to 0

(In [a8e7ccb1b245afede7878448821a64039ce2f797/ome.git]) Make sure that the annotation is linked to the images (from a plate) when a collection if specified. (close #6908)

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

We're Hiring!