Project

General

Profile

Actions

Bug #684

closed

toggle selection is broken on hosts page

Added by Paul Kelly over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Related to Foreman - Bug #815: Redirect to login page when editing multiple hostsClosedBash Shell03/31/2011Actions
Actions #1

Updated by Bash Shell over 13 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.

Actions #2

Updated by Ohad Levy over 13 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

Actions

Also available in: Atom PDF