AJAX updates for multiple rows get weird results

Bug #964345 reported by Gabriel Hurley on 2012-03-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Gabriel Hurley

Bug Description

When multiple rows try to update at the same time strange errors can show up in the log, particularly around the action column. This comes from the fact that the columns are instantiated only once during the table class creation. This means the pointer from column to table is actually not safe across requests. Thus, concurrent requests end up trampling on eachothers' data.

Reviewed: https://review.openstack.org/5780
Committed: http://github.com/openstack/horizon/commit/52b9e1982b73ca8773e9be8801909969a5b27f0a
Submitter: Jenkins
Branch: master

commit 52b9e1982b73ca8773e9be8801909969a5b27f0a
Author: Gabriel Hurley <email address hidden>
Date: Sat Mar 24 23:01:19 2012 -0700

    Copies column instances to be unique per table instance.

    Fixes bug 964345.

    Incidentally fixes bug 964351 as well by wrapping the dropdown
    actions template code in a spaceless tag.

    Change-Id: I672cb517d230db235c90a403e9b8ac0740e8732d

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

Other bug subscribers