500 error on datasource creation with unknown driver

Bug #1491970 reported by Tim Hinrichs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Medium
Tim Hinrichs

Bug Description

Trying to create a datasource using an unknown driver causes an internal error, instead of just a 404.

Tags: liberty-rc
Tim Hinrichs (thinrichs)
Changed in congress:
assignee: nobody → Tim Hinrichs (thinrichs)
tags: added: liberty-rc
removed: liberty-rc1
Changed in congress:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (master)

Reviewed: https://review.openstack.org/220301
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=7f1bd3152c48a0df05f8d58cc77d984f8c62334d
Submitter: Jenkins
Branch: master

commit 7f1bd3152c48a0df05f8d58cc77d984f8c62334d
Author: Tim Hinrichs <email address hidden>
Date: Thu Sep 3 13:15:50 2015 -0700

    Catch driver not found in API

    Previously the server would return a 500 when creating
    a datasource with an unknown driver. The API code
    failed to catch the error being thrown in that case,
    resulting in a 500.

    This change has the API catch the proper error, and
    return the appropriate error code.

    Change-Id: I52b2beb0c8ef08fc93b0d864d171592aa1f3c099
    Closes-bug: 1491970

Changed in congress:
status: In Progress → Fix Committed
Tim Hinrichs (thinrichs)
Changed in congress:
milestone: none → liberty-rc2
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.