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 #1615 (new)

Opened 14 years ago

saveAndReturnIds should handle unknown objects

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: Unscheduled
Component: API Version: 4.1
Keywords: n.a. Cc: cxallan
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

saveAndReturnIds, if there are unloaded objects that have no identifier it will just put nulls in.
51:57 So if you do something like:
52:03 ImageI(-1, False)
52:15 And roi.setImage(image)...
52:26 You'll get a null reference exception.
52:33 Rather than...
52:37 ObjectNotFound.

Change History (0)

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

We're Hiring!