Swift UI deletions result in confused action buttons

Bug #1576418 reported by Richard Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Richard Jones

Bug Description

Deleting a row in the swift UI will sometimes result in the row above it getting its actions button, even if it is the wrong type (file vs. folder).

To reproduce, create a container with:

- a file named "a"
- a file named "b"
- a folder named "c"

Delete the file named "b" and it will be removed but the folder named "c" will have its action list instead of its own.

Tags: angularjs
Changed in horizon:
assignee: nobody → Richard Jones (r1chardj0n3s)
Changed in horizon:
milestone: none → newton-1
Changed in horizon:
importance: Undecided → High
status: New → Confirmed
Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
assignee: Richard Jones (r1chardj0n3s) → Timur Sufiev (tsufiev-x)
Timur Sufiev (tsufiev-x)
Changed in horizon:
assignee: Timur Sufiev (tsufiev-x) → Richard Jones (r1chardj0n3s)
Changed in horizon:
milestone: newton-1 → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/313243
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=241cf1bd7e809c8e104d14a91246374dc86b7836
Submitter: Jenkins
Branch: master

commit 241cf1bd7e809c8e104d14a91246374dc86b7836
Author: Richard Jones <email address hidden>
Date: Mon Jun 6 16:22:56 2016 +1000

    Migrate swift ui to use hz-dynamic-table

    This removes the custom table code and uses the new
    hz-dynamic-table directive to manage the table.

    The documentation for actionResultService was also
    edited to improve clarity.

    Note: I was not intending to migrate all actions over
    to use actionResultService in this patch (to keep the
    patch size under control) so only the delete actions
    have been done, and even then not optimally. These will
    be revisited in a subsequent patch.

    Change-Id: If8c4009c29fbbdbbeac12ce2bee4dcbef287ea98
    Closes-Bug: 1576418
    Closes-Bug: 1586175
    Partially-Implements: blueprint swift-ui-functionality

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 10.0.0.0b2

This issue was fixed in the openstack/horizon 10.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.