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
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.
r908 provides group functionality. findContainerHierarchies() is still failing. See #322.