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"

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

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!

comment:2 Changed 15 years ago by jmoore

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

This is by and large a duplicate of #1183, but committing r3674 to fix the getDetails() == null on unloaded object bug.

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

We're Hiring!