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

Opened 18 years ago

Closed 18 years ago

findByQuery(HQLString,...) is "broken as designed"

Reported by: jamoore Owned by: jamoore
Priority: critical Cc:
Sprint: n.a.
Total Remaining Time: n.a.

Description

The query:

  findByQuery( "select i from Image i where i.id = 1" , null)

should return an IObject, but returns a List which produces a ClassCastException?. Ouch.

Change History (3)

comment:1 Changed 18 years ago by jmoore

  • Priority changed from minor to critical

comment:2 Changed 18 years ago by jmoore

findByQuery now automatically calls Filter#unique() which for StringQueries? returns a single instance. Fixed in r661. Closing but #83 must also be finished.

comment:3 Changed 18 years ago by jmoore

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

Woops. Now it's closed!

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

We're Hiring!