Comment 2 for bug 1481474

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/209515
Committed: https://git.openstack.org/cgit/openstack/murano-dashboard/commit/?id=32dea0b2fe08cbfa1f1ee58831bd60d94f4fdd9d
Submitter: Jenkins
Branch: master

commit 32dea0b2fe08cbfa1f1ee58831bd60d94f4fdd9d
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: Iea0a7ebe8589a064da082ceaabd37dd937ac1a5b
    Closes-Bug: #1481474