Paging to the next page doesn't work after all the items in the current page are deleted

Bug #1426076 reported by Kahou Lei
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
Unassigned

Bug Description

I was not able to page to the next page after I delete all the instance of the current page.

Steps to reproduce:

1. In the user settings, set the Item per page as 3.
2. On the project -> Instance page, launch 6 instances.
3. You should see 3 instances per page in the instance table.
4. On the first page, delete all the instance at once.
5. After all the instances are deleted, click the "Next" link.
6. You should see an error saying that it cannot page to the next page (Unable to retrieve instance).

Kahou Lei (kahou82)
Changed in horizon:
assignee: nobody → Kahou Lei (kahou82)
summary: - Paging to the next page doesn't work if all the items in the current
+ Paging to the next page doesn't work after all the items in the current
page are deleted
Kahou Lei (kahou82)
description: updated
Kahou Lei (kahou82)
Changed in horizon:
status: New → In Progress
Revision history for this message
Matt Fischer (mfisch) wrote :

This also occurs if you delete the last item at the bottom of the page that's used as a pagination marker, you don't need to delete all of them.

Changed in horizon:
assignee: Kahou Lei (kahou82) → nobody
status: In Progress → Confirmed
importance: Undecided → Low
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.