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"

User Story #111 (new)

Opened 18 years ago

Last modified 18 years ago

UpdateDataObject might should return initialized hierarchy collections.

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: Unscheduled
Component: API Keywords: n.a.
Cc: jburel Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.


Currently updateDataObject(IObject,...) returns a null for the parent or children links because the collection was never initialized.

To do this in a generic way, the Hierarchy class should provide a way to simply walk (not query) the hierarchy structure.

Perhaps the walk could be configured by the collections which are not null in the IObject argument, e.g.:

 if Project.DATASETLINKS is null, leave null, else
   initialize; and
   if Project.Dataset.IMAGELINKS is null, leave null, else
   initialize; and

Originally http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=659

Change History (1)

comment:1 Changed 18 years ago by anonymous

  • Priority changed from minor to major

This came up concretely in Shoola.

  1. call IPojos.createObject() with an ImageAnnotation
  2. get the ImageAnnotation back with an attached Image
  3. pass that Image up to the agent layer
  4. Image.getName() throws an unloaded exception.

The Image which was passed into the createObject call should have also been fetched.

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

We're Hiring!