Bug #1193 (closed)
Opened 15 years ago
Closed 15 years ago
Links returned with null details
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Cc: | jburel |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
A query such as:
public void testNullDetails() throws Exception { omero.sys.Parameters p = new ParametersI().page(0, 2); List<IObject> obj = assertFindByQuery( "select pal from ProjectAnnotationLink pal", p); assertNotNull(obj.get(0).getDetails()); }
is returning pal.details == null before Ice mapping.
Change History (2)
comment:1 Changed 15 years ago by jmoore
comment:2 Changed 15 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Correction: the query is actually returning an unloaded PAL, but omero.model.* objects aren't throwing an exception on getDetails() && unloaded. Two bugs in 1!