500 error when creating a duplicate container

Bug #930816 reported by Gabriel Hurley on 2012-02-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Gabriel Hurley

Bug Description

The code (intentionally) raises a bare Exception when creating a container with a duplicate name. We can do better.

Changed in horizon:
assignee: nobody → Gabriel Hurley (gabriel-hurley)
importance: Undecided → Medium
milestone: none → essex-4
status: New → In Progress

Reviewed: https://review.openstack.org/4094
Committed: http://github.com/openstack/horizon/commit/aca739445e2fb31688e4f7b9794a0037e1e6f43d
Submitter: Jenkins
Branch: master

commit aca739445e2fb31688e4f7b9794a0037e1e6f43d
Author: Gabriel Hurley <email address hidden>
Date: Sat Feb 11 18:44:39 2012 -0800

    Refactored test suite.

      * Moves all tests to use a single set of central test data and
        Adds a nifty manager for it.
        Implements blueprint unified-test-data.

      * Cleans up API code and API tests so that we're not testing
        code that has no custom logic, or wrapping objects unnecessarily.
        Implements blueprint api-simplification.

      * Adds lots of docs on testing. It's a good step towards
        blueprint improve-dev-documentation.

      * Improves API exception handling for duplicate objects and containers.
        Fixes bug 930816.

    Change-Id: I5526ccf5b38708885ea2d1f06b0d3483c58c4dad

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in horizon:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers