Items deleted with batch action is selected again

Bug #1742599 reported by Shu Muto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum UI
Fix Released
High
Shu Muto
Zun UI
Fix Released
High
Shu Muto
senlin-dashboard
Fix Released
Undecided
Shu Muto

Bug Description

Items recently deleted with batch action are shown in deletion confirmation dialog when execute the batch delete action again.

Steps to reproduce:
1. Create 2 new items
2. Delete one of them using the batch delete action on top of the table
3. Select the another item and click the batch delete action

Expect to see the confirmation dialog shows one selected item, but it shows the item that was deleted in step 2 as well. Also, HTTP DELETE method for already deleted item is submitted again and occurs error.

Shu Muto (shu-mutou)
Changed in zun-ui:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Shu Muto (shu-mutou)
milestone: none → queens-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun-ui (master)

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

Shu Muto (shu-mutou)
Changed in senlin-dashboard:
status: New → In Progress
assignee: nobody → Shu Muto (shu-mutou)
Changed in magnum-ui:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Shu Muto (shu-mutou)
milestone: none → queens-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin-dashboard (master)

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

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

Reviewed: https://review.openstack.org/532719
Committed: https://git.openstack.org/cgit/openstack/zun-ui/commit/?id=a9c09849095e66798ba797f096a91e23c481053b
Submitter: Zuul
Branch: master

commit a9c09849095e66798ba797f096a91e23c481053b
Author: Shu Muto <email address hidden>
Date: Thu Jan 11 12:15:49 2018 +0900

    Fix issue the deleted item is selected again with batch delete

    Items recently deleted with batch action are shown in deletion
    confirmation dialog when execute the batch delete action again.

    Steps to reproduce:
    1. Create 2 new items
    2. Delete one of them using the batch delete action on top of the table
    3. Select the another item and click the batch delete action

    Expect to see the confirmation dialog shows one selected item,
    but it shows the item that was deleted in step 2 as well.
    Also, HTTP DELETE method for already deleted item is submitted
    again and occurs error.

    This patch fixes this issue.

    Change-Id: I5940b3b073d5bb9273068c22e090e3af390c9792
    Closes-Bug: #1742599

Changed in zun-ui:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin-dashboard (master)

Reviewed: https://review.openstack.org/532731
Committed: https://git.openstack.org/cgit/openstack/senlin-dashboard/commit/?id=65cda4cec4344132f13882782398c55a0ae7476f
Submitter: Zuul
Branch: master

commit 65cda4cec4344132f13882782398c55a0ae7476f
Author: Shu Muto <email address hidden>
Date: Thu Jan 11 14:01:59 2018 +0900

    Fix issue the deleted item is selected again with batch delete

    Items recently deleted with batch action are shown in deletion
    confirmation dialog when execute the batch delete action again.

    Steps to reproduce:
    1. Create 2 new items
    2. Delete one of them using the batch delete action on top of the table
    3. Select the another item and click the batch delete action

    Expect to see the confirmation dialog shows one selected item,
    but it shows the item that was deleted in step 2 as well.
    Also, HTTP DELETE method for already deleted item is submitted
    again and occurs error.

    This patch fixes this issue.

    Change-Id: I6555f3d2a4c0f9a4fb9f3fa780f31e3d2b03f34e
    Closes-Bug: #1742599

Changed in senlin-dashboard:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum-ui (master)

Reviewed: https://review.openstack.org/532727
Committed: https://git.openstack.org/cgit/openstack/magnum-ui/commit/?id=d946e483cd0bba8ca0386e8334c29fed0caca057
Submitter: Zuul
Branch: master

commit d946e483cd0bba8ca0386e8334c29fed0caca057
Author: Shu Muto <email address hidden>
Date: Thu Jan 11 13:43:53 2018 +0900

    Fix issue the deleted item is selected again with batch delete

    Items recently deleted with batch action are shown in deletion
    confirmation dialog when execute the batch delete action again.

    Steps to reproduce:
    1. Create 2 new items
    2. Delete one of them using the batch delete action on top of the table
    3. Select the another item and click the batch delete action

    Expect to see the confirmation dialog shows one selected item,
    but it shows the item that was deleted in step 2 as well.
    Also, HTTP DELETE method for already deleted item is submitted
    again and occurs error.

    This patch fixes this issue.

    Change-Id: Ib475761363e85be8df3c64e94d8000295796fd1c
    Closes-Bug: #1742599

Changed in magnum-ui:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/senlin-dashboard 0.8.0

This issue was fixed in the openstack/senlin-dashboard 0.8.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zun-ui 1.0.0

This issue was fixed in the openstack/zun-ui 1.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum-ui 4.0.0

This issue was fixed in the openstack/magnum-ui 4.0.0 release.

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.