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

Opened 13 years ago

Closed 13 years ago

getObject() throw if >1 result

Reported by: wmoore Owned by: wmoore
Priority: minor Milestone: OMERO-Beta4.3
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-04-21 (10)

Description (last modified by wmoore)

If I call getObject() and the result is > 1, this should throw an exception.

Returning None with no results is OK.

Change History (2)

comment:1 Changed 13 years ago by wmoore

  • Status changed from new to accepted

comment:2 Changed 13 years ago by wmoore

  • Description modified (diff)
  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

These commits to python-gateway close this ticket.

* b5f2284 (HEAD, origin/python-gateway, python-gateway) Adding test for getObject() throws if >1 result. Closes 4908
* 11e6acf Blitz getObject() throws exception if >1 result returned. See 4908
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.68154 sec.)

We're Hiring!