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.
Reviewed: https:/ /review. fuel-infra. org/10144 ci/fuel- 7.0/2015. 1.0
Submitter: mos-infra-ci <>
Branch: openstack-
Commit: 9f903df43620581 bfad6acd1cb4837 7ea2f0b0a6
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: Iea0a7ebe8589a0 64da082ceaabd37 dd937ac1a5b
Closes-Bug: #1481428