is-empty condition rejects missing values
Bug #1578184 reported by
Dmitry Tantsur
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic Inspector |
Fix Released
|
Medium
|
Dmitry Tantsur |
Bug Description
It seems to be more intuitive that is-empty on a missing value returns True, but currently it returns False. This prevents some useful things with advanced JSON queries.
Changed in ironic-inspector: | |
status: | Triaged → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/310031 /git.openstack. org/cgit/ openstack/ ironic- inspector/ commit/ ?id=50b989474d8 74c6004dd2b4f0c 1ec598007a2fcb
Committed: https:/
Submitter: Jenkins
Branch: master
commit 50b989474d874c6 004dd2b4f0c1ec5 98007a2fcb
Author: Dmitry Tantsur <email address hidden>
Date: Mon Apr 25 19:37:03 2016 +0200
is-empty conditions should accept missing values
Returning False from is-empty condition on missing values seems extremely
confusing and rules out some potential use cases.
Closes-Bug: #1578184 512e2ffae281508 5be1776b6f6
Change-Id: I8f976516f89367