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. openstack. org/209515 /git.openstack. org/cgit/ openstack/ murano- dashboard/ commit/ ?id=32dea0b2fe0 8cbfa1f1ee58831 bd60d94f4fdd9d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 32dea0b2fe08cbf a1f1ee58831bd60 d94f4fdd9d
Author: Kirill Zaitsev <email address hidden>
Date: Wed Aug 5 16:12:11 2015 +0300
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: #1481474