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

Opened 18 years ago

Closed 12 years ago

Get methods should throw a SecurityException rather than throw null.

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: Cleanup
Component: Security Version: 3.0-M3
Keywords: get, exceptions, iquery, story114, cleanup Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

The contract of IQuery get methods is that they don't return null. (find methods are allowed to return null). This should hold even in the face of an object filtered by the security system.

Note: #117 may make this trivial.

Change History (3)

comment:1 Changed 18 years ago by jmoore

  • Milestone changed from 3.0-M3 to 3.0-M4

comment:2 Changed 17 years ago by jmoore

  • Keywords cleanup added
  • Milestone changed from 3.0-Beta2 to 3.0-RC1

comment:3 Changed 12 years ago by jmoore

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

This can't still be true.

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

We're Hiring!