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

Opened 8 years ago

Closed 8 years ago

BUG: loading hierarchy with Screen as Root

Reported by: jburel Owned by: jburel
Priority: critical Milestone: OMERO-Beta4.3
Component: API Version: n.a.
Keywords: n.a. Cc: jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-04-21 (10)

Description

Loading hierarchies using the Screen as root now leads to the following exception

omero.ApiUsageException
    serverStackTrace = "ome.conditions.ApiUsageException: could not resolve property: plateAcquisition of: ome.model.screen.Plate [select this from ome.model.screen.Screen this left outer join fetch this.plateLinks pdl left outer join fetch pdl.child ds left outer join fetch ds.details.updateEvent left outer join fetch ds.plateAcquisition sa left outer join fetch this.annotationLinksCountPerOwner this_a_c ]; nested exception is org.hibernate.QueryException: could not resolve property: plateAcquisition of: ome.model.screen.Plate [select this from ome.model.screen.Screen this left outer join fetch this.plateLinks pdl left outer join fetch pdl.child ds left outer join fetch ds.details.updateEvent left outer join fetch ds.plateAcquisition sa left outer join fetch this.annotationLinksCountPerOwner this_a_c ]
                        	at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:660)
                        	at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
                        	at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
                        	at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
                        	at ome.logic.QueryImpl.execute(QueryImpl.java:141)
                        	at ome.logic.PojosImpl.loadContainerHierarchy(PojosImpl.java:122)
                        	

Change History (2)

comment:1 Changed 8 years ago by jburel

  • Remaining Time set to 0.1
  • Status changed from new to accepted

comment:2 Changed 8 years ago by jburel <j.burel@…>

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [774e19ebf8451e4a1ce1fdb6f15b2babc05106af/ome.git] on branch develop) Fix loading of screen bug and add test (close #5020).

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

We're Hiring!