Project

General

Profile

Bug #684

toggle selection is broken on hosts page

Added by Paul Kelly almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

when toggle all is pressed and then move forward a page and then go back the selection has changed. This may be due to the search order
clear all also clears any search parameters


Related issues

Related to Foreman - Bug #815: Redirect to login page when editing multiple hostsClosed2011-03-31

History

#1 Updated by Bash Shell almost 10 years ago

This has always been broken, as far as I can remember. ( I discussed this with Ohad on IRC a long time ago)
If I ever use the toggle link, the way I use it is to press it once, then refresh the page to manually re-select the ones that were missed. :-/

The "Toggle All" link sends 20 POST requests.
Only a random number of requests are processed.. some are simply "dropped" by Rails.
(I'm using Apache+Passenger now, but I saw the same behavior with Webrick, so I suspect it is Rails)

I think the solution would be to send ONE Post request, with all the Host IDs as a parameter.

If you are going to let people select the number of hosts per page, this will be a bigger problem.

#2 Updated by Ohad Levy over 9 years ago

  • Category set to Web Interface
  • Status changed from New to Closed
  • Assignee set to Ohad Levy
  • Target version set to 0.3

this has been fixed at #815

Also available in: Atom PDF