Task #435 (closed)
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
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
Pushed to milestone:3.0-Beta3 per ConfCall 2007-05-24
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
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??