Comment 2 for bug 1537924

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/272311
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f392a04051ac45dc023a594d605420ef30a19a2e
Submitter: Jenkins
Branch: master

commit f392a04051ac45dc023a594d605420ef30a19a2e
Author: Salvatore Orlando <email address hidden>
Date: Mon Jan 25 14:23:13 2016 -0800

    Pecan: filter items need type conversion

    In order for filtering to work properly on GET requests, filter
    values should be converted to the appropriate type specified in
    neutron.api.v2.attributes.RESOURCE_ATTRIBUTE_MAP.

    Without this change queries on boolean attributes, for instance,
    won't work as the value to filter on will be passed to the plugin
    as a string.

    Closes Bug: #1537924

    Change-Id: I0a697a01f272f94378928ecc099232e3b2d11f1f