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 #10408 (new)

Opened 7 years ago

Last modified 4 years ago

Bug: search for Experimenter using byFullText("root") does not return any results

Reported by: jcorrington-x Owned by:
Priority: minor Milestone: Unscheduled
Component: Search Version: 5.0.5
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Searching for Experimenter using byFullText("root") does not return any results. This happens when filtering by type string or owner details. The following C++ test case in OmeroCpp/test/integration/search.cpp will reproduce the issue.

TEST(SearchTest, testLookingForExperimenterWithOwner ) {
    SearchFixture f;
    SearchPrx search = f.search();
    search->onlyType("Experimenter");

    // Just root should work
    search->byFullText("root");
    assertAtLeastResults(1, search);

    // And filtered on "owner" (experimenter has none) should work, too.
    DetailsIPtr d = new DetailsI();
    d->setOwner(new ExperimenterI(0L, false));
    search->onlyOwnedBy(d);
    search->byFullText("root");
    assertAtLeastResults(1, search);
}

Change History (2)

comment:1 Changed 5 years ago by jburel

  • Owner set to rleigh
  • Version set to 5.0.5

Roger did you look at that test?

comment:2 Changed 4 years ago by rleigh

  • Owner rleigh deleted

Taking myself off the ticket--I know nothing about OMERO search to be able to look at this.

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

We're Hiring!