raise better exception for duplicate matches

Bug #1200323 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Medium
Aaron Rosen

Bug Description

Currently the client rasies exceptions.NeutronClientException if a duplicate match is found. This makes it hard for programs using the client to know what error actually occured.

Aaron Rosen (arosen)
Changed in python-neutronclient:
importance: Undecided → Medium
assignee: nobody → Aaron Rosen (arosen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)

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

Changed in python-neutronclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/36703
Committed: http://github.com/openstack/python-neutronclient/commit/04178517bcccf41e78ec2623b8db954921c84f48
Submitter: Jenkins
Branch: master

commit 04178517bcccf41e78ec2623b8db954921c84f48
Author: Aaron Rosen <email address hidden>
Date: Thu Jul 11 10:54:59 2013 -0700

    raise better exception for duplicate match

    When a duplicate match is found the client previously raised a
    NeutronClientException which made it hard for programs using the client
    to handle errors. This patch now makes it raise a
    NeutronClientNoUniqueMatch exception instead.

    Fixes bug: 1200323

    Change-Id: I6ef6f9a9e257104f676dde7ec26be98417ec70e0

Changed in python-neutronclient:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
milestone: none → 2.2.1-2.2.6
status: Fix Committed → Fix Released
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.