Ajax row update from polling renders errors

Bug #957461 reported by Tres Henry on 2012-03-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
High
Gabriel Hurley

Bug Description

When an uncaught error occurs during an ajax poll update the row will render with the error message which breaks the table layout. In the case of an error we may wish to simply stop polling or at least exponentially back off the polling as well.

Tres Henry (tres) on 2012-03-16
Changed in horizon:
milestone: none → essex-rc1
assignee: nobody → Gabriel Hurley (gabriel-hurley)
importance: Undecided → High
Devin Carlen (devcamcar) wrote :

Need to check for non 200 response codes. Specifically we were seeing 502s and 503s that were killing it.

Changed in horizon:
status: New → Confirmed

Fix proposed to branch: master
Review: https://review.openstack.org/5492

Changed in horizon:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/5492
Committed: http://github.com/openstack/horizon/commit/3a6ffe81d870392f596ad2d443d9ca0abc1ad00e
Submitter: Jenkins
Branch: master

commit 3a6ffe81d870392f596ad2d443d9ca0abc1ad00e
Author: Gabriel Hurley <email address hidden>
Date: Sun Mar 18 19:23:04 2012 -0700

    Added AJAX updating error handling.

      * Splits the AJAX complete method into complete, success, and error.
      * Cleans up 404 (e.g. gone/deleted) handling.
      * Adds 5XX error handling.
      * Adds client-side alert message templating.
      * Adds client-side conf (debug and static_url) loaded from backend.

    Fixes bug 957461.

    Change-Id: I5114430d35e2d20603e817651540b2db1f8a4d07

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-03-20
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in horizon:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers