Items deleted with batch action is selected again

Bug #1742599 reported by Shu Muto on 2018-01-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum UI
High
Shu Muto
Zun UI
High
Shu Muto
senlin-dashboard
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) on 2018-01-11
Changed in zun-ui:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Shu Muto (shu-mutou)
milestone: none → queens-3
Shu Muto (shu-mutou) on 2018-01-11
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

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

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

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

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

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

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  Edit
Everyone can see this information.

Other bug subscribers