test_multiple_filters uses an invalid filter that is ignored

Bug #1424749 reported by Samuel de Medeiros Queiroz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Low
Samuel de Medeiros Queiroz

Bug Description

test_multiple_filters [1] uses the following URL:

    '/domains?enableds&name=%s' % self.domainA['name']

'enableds' is an invalid filter and then it is ignored, not being honored by the driver neither the controller.
We need to fix it by replacing by 'enabled'.

[1] test_v3_filters.IdentityTestFilteredCase.test_multiple_filters

Changed in keystone:
assignee: nobody → Samuel de Medeiros Queiroz (samueldmq)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/158411

Changed in keystone:
status: New → In Progress
David Stanek (dstanek)
Changed in keystone:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/158411
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=1ed0a3659afc855efb5634188cec3f2e90dd0163
Submitter: Jenkins
Branch: master

commit 1ed0a3659afc855efb5634188cec3f2e90dd0163
Author: Samuel de Medeiros Queiroz <email address hidden>
Date: Mon Feb 23 14:45:01 2015 -0300

    Fixes test_multiple_filters filters definition

    This test contained an invalid filter, which was
    simply being ignored by both driver and
    controller.

    This patch fixes this bug and add a test to show
    invalid filters are ignored.

    Closes-Bug: #1424749

    Change-Id: I05ab123717b49bcb47ca676e55040818c1451d71

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: kilo-3 → 2015.1.0
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.