Bug #815
closedRedirect to login page when editing multiple hosts
Description
In Foreman 0.2 final, when editing multiple hosts in the Hosts view, upon clicking submit the user is returned to the login screen.
Per ohadlevy in #theforeman:
it seems to be related to the fact that the ajax request doesnt contain the authentication_id, which probably happened when we upgraded rails
but I wanted to change the logic from ajax to store the selected hosts in a cookie instead
as the current implementation is not that solid
Files
Updated by Eric Shamow over 13 years ago
Meant to note -- this is running behind Passenger.
Updated by Ohad Levy over 13 years ago
- Assignee set to Bash Shell
- Target version set to 0.3
Updated by Ohad Levy over 13 years ago
so, inspired by ahuman patch, attached is my own.
this converts the entire selection to javascript, and remove the old dependency upon AJAX.
its still not complete, but 99% of the functionality should already be included, would be great if you could give it a try.
Updated by Ohad Levy over 13 years ago
- Status changed from New to Ready For Testing
- % Done changed from 0 to 100
Applied in changeset 1a51088d87c3420e435a3798358bec4b3b2b7de1.
Updated by Ohad Levy over 13 years ago
- Status changed from Ready For Testing to Closed
Updated by Bash Shell over 13 years ago
Nice .. I don't know when I will actually get to try this, but I was wondering if this works if you select a large number of hosts? ( say several hundred )
Updated by Ohad Levy over 13 years ago
Bash Shell wrote:
Nice .. I don't know when I will actually get to try this, but I was wondering if this works if you select a large number of hosts? ( say several hundred )
as the cookie only saves the ids of a host, then I would assume our limit is about 1k hosts