Opened 12 years ago

Closed 12 years ago

#1445 closed defect (fixed)

ServicesUtil.getConfiguredItemQuery() doesn't remove query options that are set to 'false'

Reported by: Nicklas Nordborg Owned by: Martin Svensson
Priority: minor Milestone: BASE 2.14.2
Component: webservices Version:
Keywords: Cc:

Description

In the following code example, the Include.MINE setting is still active even though it was set to 'false' in the call to new QueryOptions(...)

QueryOptions qOpts = new QueryOptions(false, null, null, null, null, null);
ItemQuery<Experiment> query = ServicesUtil().getConfiguredItemQuery(Experiment.getQuery(), qOpts);
assertFalse(query.isIncluded(Include.MINE));

Change History (2)

comment:1 Changed 12 years ago by Martin Svensson

Status: newassigned

comment:2 Changed 12 years ago by Martin Svensson

Resolution: fixed
Status: assignedclosed

(In [5197]) Fixes #1445 ServicesUtil?.getConfiguredItemQuery() doesn't remove query options that are set to 'false'

Note: See TracTickets for help on using tickets.