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

Opened 18 years ago

Closed 16 years ago

Last modified 16 years ago

Annotations retrieval

Reported by: jburel Owned by: jamoore
Priority: minor Milestone: 3.0-Beta3
Component: Services Version: 3.0-M3
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

workflow:
login: jburel
then in the dataManager, view data of other members of my group.
When I click on an annotated image or dataset which doesn't belong to me.
A call to the server is made to retrieve the annotations i.e.
IPojosService.findAnnotations(nodeType, nodeIDs, null, options));
and where options are:
PojoOptions? po = new PojoOptions?();
po.noCounts();
po.noLeaves();

When trying to display the retrieved annotation, I have the following error message:
java.lang.IllegalStateException?: Object unloaded:Experimenter:Id_3

at ome.model.meta.Experimenter.errorIfUnloaded(Experimenter.java:856)
at ome.model.meta.Experimenter.preGetter(Experimenter.java:69)
at ome.model.meta.Experimenter.getLastName(Experimenter.java:276)
at pojos.ExperimenterData?.getLastName(ExperimenterData?.java:149)

We should always have for the experimenter : LastName? and firstName
otherwise it's impossible to display who did what and when

Change History (7)

comment:1 Changed 18 years ago by jmoore

  • Keywords iteration2 added
  • Milestone changed from Unscheduled to 3.0-M4

comment:2 Changed 18 years ago by jmoore

Ok. I've reproduced and will commit a fix in a moment. Can you forsee other calls that could fall into the same trap? Do ALL pojo related calls need to return loaded Experimenter? What about ExperimenterGroup??

comment:3 Changed 18 years ago by jmoore

  • Status changed from new to assigned

r1044 fixes. Will leave open until the open questions get cleared up.

comment:4 Changed 17 years ago by jmoore

  • Keywords iteration2 removed

comment:5 Changed 17 years ago by jmoore

  • Milestone changed from 3.0-Beta2 to 3.0-Beta3

comment:6 Changed 16 years ago by jmoore

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

Seems like this is fixed again eh? Closing.

comment:7 Changed 16 years ago by jburel

This problem has been fixed as far as I can tell

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

We're Hiring!