Bug #995 (closed)
Opened 16 years ago
Closed 16 years ago
Search Filter by owner
Reported by: | jburel | Owned by: | jamoore |
---|---|---|---|
Priority: | blocker | Cc: | |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
I am doing a basic search on the name of the images
Search service = getSearchService(); service.setAllowLeadingWildcard(true); service.onlyOwnedBy(exp.asExperimenter().getDetails()); where exp = me service.onlyType(Image.class) service.bySomeMustNone(some, must, none); where some = [*API*]
I found images but I am NOT the owner of the returned images.
Change History (3)
comment:1 Changed 16 years ago by jmoore
- Status changed from new to assigned
comment:2 Changed 16 years ago by jmoore
r2450 contains the test.
comment:3 Changed 16 years ago by jmoore
- Resolution set to fixed
- Status changed from assigned to closed
Closing. This seems to be a documentation error on my part. It needs to be clear that: onlyOwnedBy(Details) expects a new Details instance with the Owner set, as opposed to:
onlyOwnedBy( someExperimenter.getDetails() );
See #997 for further work on this.
Jean-Marie, can you verify that this is the problem we're talking about? The following passes currently.