Allow customization of error messages on actions

Bug #1037241 reported by Gabriel Hurley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Wishlist
Gabriel Hurley

Bug Description

When an action fails, it would be great to have a standardized place to hook in customizations for the error message that is displayed to the user.

Such a place would be able to introspect the state of the resource, and the error returned from the backend, allowing more descriptive messages to be returned.

Changed in horizon:
milestone: folsom-rc1 → none
Changed in horizon:
milestone: none → folsom-rc1
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit ceb22f13b901dced411afc1b9174b1514aee18b7
Author: Tihomir Trifonov <email address hidden>
Date: Wed Sep 5 15:10:10 2012 +0300

    Adds a method for overriding specific API messages.

    Also provides a specific error message for dependent snapshots
    during volume deletion.

    Fixes bug 1037241. Fixes bug 1020326.

    Change-Id: I40e5f537bc1806ec97c21f3eeea1d74beca04250

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: folsom-rc1 → 2012.2
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.