Pagination issues after deleting items

Bug #1315589 reported by Cindy Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Medium
Unassigned

Bug Description

==Steps to Reproduce==

1. Project > Instances
2. Make sure you have two instances
3. Set Items Per Page to 1
4. Terminate instance on first page

=> Once the Ajax is complete, the table footer will say: Displaying 0 Items | More >>

The More link still has the marker of the deleted item. And when you click on it, it will say: "Error, unable to retrieve instances."

You have to press Browser back button to see the 1 item.

Likewise, if you deleted the single item on the second page, it will refresh the page that it is on, something like __your_url__project/instances/?marker=c8d32cf3-dfd8-4832-86cb-1d84362a7ae4. But now the table footer says Displaying 0 items. You have to press the browser back button to go back or remove out the marker stuff from the url.

Revision history for this message
Julie Pichon (jpichon) wrote :

Thanks for the bug report. Pagination issues tend to be tough to resolve because of the APIs at the moment still (cf. eg bug 1212174).

summary: - deleting items when paging enabled
+ Pagination issues after deleting items
Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Julie Pichon (jpichon) wrote :

Actually this turns out to be a duplicate, there is also a patch up for review for the other one.

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.