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

Opened 18 years ago

Closed 18 years ago

Re-add the PojoOptions.isGroup() logic.

Reported by: jamoore Owned by: jamoore
Priority: major Milestone: 3.0-M3
Component: Queries Version: 3.0-M3
Keywords: pojos, filters, hiberante, iteration4 Cc: jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Somewhere between Omero2 and Omero3 we removed all the logic to filter results by group. That needs to be fixed now.

Change History (10)

comment:1 Changed 18 years ago by jmoore

  • Keywords iteration4 added

comment:2 Changed 18 years ago by jmoore

r908 provides group functionality. findContainerHierarchies() is still failing. See #322.

comment:3 Changed 18 years ago by jmoore

  • Cc jburel added

r909 fixes the findContainerHierarchies issue. It now seems that filtering is working. Though it should be noted that the enabled filters for each query (especially PojosFindHierarchiesQueryDefinition) need to be reviewed. (Affects performance)

Jean-Marie, can you give it a whirl?

comment:4 Changed 18 years ago by jburel

The case when we don't specify the rootID is not handled properly.
follow error message

ome.conditions.ApiUsageException?: Set of ids for loadContainerHierarchy() may not be null if experimenter and group options are null.

at ome.logic.PojosImpl?.loadContainerHierarchy(PojosImpl?.java:113)
at ome.ro.ejb.PojosBean?.loadContainerHierarchy(PojosBean?.java:164)

comment:5 Changed 18 years ago by jmoore

r911 adds a test for this. It's passing, however. Jean-Marie, can you update it to make it fail?

comment:6 Changed 18 years ago by jburel

Just updated:
now error when trying to load the current user hierarchies.
Follow the error message:
ome.conditions.ApiUsageException?: Set of ids for loadContainerHierarchy() may not be null if experimenter and group options are null.

at ome.logic.PojosImpl?.loadContainerHierarchy(PojosImpl?.java:113)
at ome.ro.ejb.PojosBean?.loadContainerHierarchy(PojosBean?.java:164)

comment:7 Changed 18 years ago by jmoore

Jean-Marie, your server will need to be updated. ome.ro.ejb.PojosBean doesn't exist anymore. I should have noticed that last time. Sorry.

comment:8 Changed 18 years ago by jburel

server updated
rebuilt jars
but still same error message

comment:9 Changed 18 years ago by jburel

oops sorry forgot to remove my comments ;-(

comment:10 Changed 18 years ago by jmoore

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

Ok. I'm assuming this is working now. If there are particular issues, please make a new ticket.

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

We're Hiring!