← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1714131] Re: pecan hooks break on pagination + ID filter

 

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

commit 41e6f02bf253e82fcc4baf4b77795ad831b58b43
Author: Kevin Benton <kevin@xxxxxxxxxx>
Date:   Wed Aug 30 19:46:39 2017 -0700

    Pecan: process filters at end of hook pipeline
    
    Separate user-applied filters from policy-enforcement
    filters processing and put it at the end of the pipeline
    so users can't put filters on the API request that impact
    the fields available to the hooks.
    
    This prevents a filter excluding the ID field from breaking
    pagination.
    
    Change-Id: I05f4582fb1e8809740d473e24fa54483e040a6c8
    Closes-Bug: #1714131


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  pecan hooks break on pagination + ID filter

Status in neutron:
  Fix Released

Bug description:
  The user filters are applied to the results before pagination in the
  pecan hook pipeline so if the user filters out the ID field, the
  pagination code will throw an exception trying to build the next link.

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


References