When deleting all items in Volume table it displays incorrectly

Bug #955706 reported by Emma Grace Steimann on 2012-03-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Andy Chong

Bug Description

When deleting all volumes in volume table the table collapses to zero rows and still says "Displaying 1 item". See screenshot.

tags: added: essex-rc1
Andy Chong (andycjw) wrote :

I discover this bug recently as well
this is because the row is actually there on the first page load
and during ajax row reload, the row is gone, and the ajax .replaceWith() method
swap the original row to empty, but the row count at the table footer doesn't update

Andy Chong (andycjw) on 2012-03-15
Changed in horizon:
assignee: nobody → Andy Chong (andycjw)
status: New → Confirmed

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

Changed in horizon:
status: Confirmed → In Progress
Devin Carlen (devcamcar) on 2012-03-15
tags: added: essex-rc-potential
Changed in horizon:
status: In Progress → Confirmed
importance: Undecided → Medium
Andy Chong (andycjw) on 2012-03-16
Changed in horizon:
status: Confirmed → In Progress
Devin Carlen (devcamcar) on 2012-03-16
tags: removed: essex-rc1
Devin Carlen (devcamcar) on 2012-03-18
Changed in horizon:
milestone: none → essex-rc1

Reviewed: https://review.openstack.org/5386
Committed: http://github.com/openstack/horizon/commit/5ab5d280312fd85f0cf0c9ce539e1b2b294d52bb
Submitter: Jenkins
Branch: master

commit 5ab5d280312fd85f0cf0c9ce539e1b2b294d52bb
Author: Andy Chong <email address hidden>
Date: Thu Mar 15 15:28:55 2012 +0800

    reset table to empty look if row becomes empty during updates

     * fixes bug 955706

    Change-Id: Icb4190ce8cf20e3375c237f6729c64cb17f404e1

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

Bug attachments