Raise InvalidInput directly instead of catch it

Bug #1094023 reported by Alex Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Alex Xu

Bug Description

In quantum.api.v2.base._filters, we catch exception 'InvalidInput' and raise it as 'HTTPBadRequest'.

But we have mapping 'exceptions.InvalidInput: webob.exc.HTTPBadRequest' in quantum.api.v2.base.FAULT_MAP.

So we should raise InvalidInput directly.

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

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

Changed in quantum:
assignee: nobody → Alex Xu (xuhj)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/18682
Committed: http://github.com/openstack/quantum/commit/c536aab7e2bd5af4dafa37b22b4a9972d7e7b2bc
Submitter: Jenkins
Branch: master

commit c536aab7e2bd5af4dafa37b22b4a9972d7e7b2bc
Author: He Jie Xu <email address hidden>
Date: Thu Dec 27 21:31:34 2012 +0800

    Raise InvalidInput directly instead of catch it

    Fixes bug 1094023

    Change-Id: I960b01996e33da0da5e9cd181479ebcf70d38997

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-2 → 2013.1
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.