toggle selection is broken on hosts page
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
#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.