wrong check condtion for revoke event

Bug #1603861 reported by Dave Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Dave Chen

Bug Description

Keystone has the code to prevent `None` value to be returned when list revoke event, but there is wrong check condition that leads to access_token_i with None returned to end user.

see code here.
https://github.com/openstack/keystone/blob/master/keystone/models/revoke_model.py#L114-L115

Changed in keystone:
assignee: nobody → Dave Chen (wei-d-chen)
status: New → In Progress
Changed in keystone:
milestone: none → newton-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/342034
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=9df02bfb551b81e99ee4cc81f11e3881cd4ed80a
Submitter: Jenkins
Branch: master

commit 9df02bfb551b81e99ee4cc81f11e3881cd4ed80a
Author: Dave Chen <email address hidden>
Date: Thu Jul 14 16:06:18 2016 +0800

    Fix the wrong check condition

    Keystone has the code to prevent `None` value to be returned in the
    revoke event, but there is wrong check condition that leads to
    the `access_token_id` with None will be returned to end user.

    Closes-Bug: #1603861
    Change-Id: Ifc2908ffb6b8353d24a6416338d8fadb0e0b2a21

Changed in keystone:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/keystone 10.0.0.0b3

This issue was fixed in the openstack/keystone 10.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.