Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1006 closed enhancement (fixed)

Make it possible to search for missing annotations

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 2.7
Component: core Version:
Keywords: Cc:

Description

There is an issue that manifests itself when filtering lists of items based on annotation values. It is easy to search for specific annotation values. But if you enter a filter expression, = or <>, an error message is displayed:

InvalidUseOfNullException: Invalid use of null. The 'value' value cannot be set to null.

The reason for this is that the current query API doesn't allow null values when searching for annotations simply because null values are not allowed as annotation values. In the case of filtering, searching for null should find items that has not been annotated with the specified annotation type.

Change History (4)

comment:1 by Nicklas Nordborg, 17 years ago

Summary: Make it possible to search for 'null' values in annotationsMake it possible to search for missing in annotation

comment:2 by Nicklas Nordborg, 17 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:3 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: assignedclosed

(In [4252]) Fixes #1006: Make it possible to search for missing annotations

comment:4 by Nicklas Nordborg, 17 years ago

Summary: Make it possible to search for missing in annotationMake it possible to search for missing annotations
Note: See TracTickets for help on using tickets.