Project

General

Profile

Actions

Bug #5304

closed

[API] filters incorrectly exclude results for records with null value in filtered field

Added by Ward Vandewege about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
API
Target version:
Story points:
0.5

Description

There appears to be a bug in our filter code on the API side, where a call like this:

arv group list --filters='[["group_class", "!=", "project"]]'

does not return any groups where group_class is set to null. Of course group_class should probably not be set to null, but that is irrelevant; the filter should not exclude those records from this call.

The workbench code uses a functionally identical API call to show the list of groups on the sharing screen.


Subtasks 1 (0 open1 closed)

Task #5430: Review branch: 5304-include-nulls-when-notequal-filterResolvedRadhika Chippada03/10/2015Actions

Related issues

Related to Arvados - Bug #3819: [Workbench] It's not possible to share a project with the 'All Users' groupResolvedWard VandewegeActions
Actions

Also available in: Atom PDF