RFE: Support filter by attribute with empty value
Bug #1749304 reported by
Hongbin Lu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Wishlist
|
Hongbin Lu |
Bug Description
Right now, it seems it is impossible to list resources with a filter that contains blank value (""). For example, it is impossible to list unbound ports (whose device_id is ""). I tried the following, but it doesn't seem to work (it returned all ports instead of the filtered ports).
GET "/ports?device_id="
NOTE: There is a reported case that a user wanted to filter and delete the relevant resources. However, the user entered an empty value by mistake and wrongly deleted all the resources. The incident is due to this RFE so fixing it is critical.
Changed in neutron: | |
assignee: | nobody → Hongbin Lu (hongbin.lu) |
tags: | added: rfe |
description: | updated |
tags: | added: api |
tags: |
added: rfe-approved removed: api rfe |
Changed in neutron: | |
assignee: | nobody → Hongbin Lu (hongbin.lu) |
status: | Confirmed → In Progress |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/545490
Review: https:/