Comment 2 for bug 1481428

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/murano-dashboard (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/10144
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 9f903df43620581bfad6acd1cb48377ea2f0b0a6
Author: Kirill Zaitsev <email address hidden>
Date: Thu Aug 6 10:47:52 2015

Return 404 to ajax environment update table call

Before a 404 exception from api was not properly handled and
returned 500 error to dashboard ajax call. This resulted in a deleteing
environment row being stuck until page reload.

Thi patch throws django Http404 in case the row has been deleted
successfully and let's other exception to be handled by the universal
handler. Also updates the handler to work with non-deprecated version of
exceptions from api calls.

Change-Id: Iea0a7ebe8589a064da082ceaabd37dd937ac1a5b
Closes-Bug: #1481428