500 error on datasource creation with unknown driver
Bug #1491970 reported by
Tim Hinrichs
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.
Changed in congress: | |
assignee: | nobody → Tim Hinrichs (thinrichs) |
tags: |
added: liberty-rc removed: liberty-rc1 |
Changed in congress: | |
status: | New → In Progress |
Changed in congress: | |
milestone: | none → liberty-rc2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/220301 /git.openstack. org/cgit/ openstack/ congress/ commit/ ?id=7f1bd3152c4 8a0df05f8d58cc7 7d984f8c62334d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7f1bd3152c48a0d f05f8d58cc77d98 4f8c62334d
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: I52b2beb0c8ef08 fc93b0d864d1715 92aa1f3c099
Closes-bug: 1491970