Duplicated lease name should return HTTP 409 Conflict instead of HTTP 500
Bug #1302584 reported by
Michał Kamiński
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
Fix Released
|
Medium
|
Michał Kamiński |
Bug Description
Currently when user tries to create a lease with duplicated name,
Error
HTTP/1.1 500 INTERNAL SERVER ERROR {"error_name": 500, "error_message": "ClimateDBDupli
HTTP 409 CONFLICT
{"error_name": "Duplicated Lease Name", "error_message": "Lease with name %lease_name already exists", "error_code": 409}
Changed in climate: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in climate: | |
assignee: | nobody → Michał Kamiński (michal-kaminski) |
Changed in climate: | |
status: | Confirmed → In Progress |
Changed in blazar: | |
milestone: | none → 0.1.1 |
Changed in blazar: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/#/c/ 85678/
Review: https:/