Opened 14 years ago

Closed 14 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 by Martin Svensson, 14 years ago

Status: newassigned

comment:2 by Martin Svensson, 14 years ago

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.