← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1425108] [NEW] private _get_children() in sql backend doesn't support passing None values

 

Public bug reported:

The _get_children() method [1] uses the "in_" clause, which doesn't
support passing None as part of the list (it is not considered). Passing
None is a valid situation if we want to query for all root projects in
the hierarchy.

[1]
https://github.com/openstack/keystone/blob/master/keystone/resource/backends/sql.py#L86

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1425108

Title:
  private _get_children() in sql backend doesn't support passing None
  values

Status in OpenStack Identity (Keystone):
  New

Bug description:
  The _get_children() method [1] uses the "in_" clause, which doesn't
  support passing None as part of the list (it is not considered).
  Passing None is a valid situation if we want to query for all root
  projects in the hierarchy.

  [1]
  https://github.com/openstack/keystone/blob/master/keystone/resource/backends/sql.py#L86

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1425108/+subscriptions


Follow ups

References