Bug #6655
closedClear _ForemanSelectedhosts cookie when an action is performed
Description
We recently had an incident where a large number of our production boxes were accidently deleted in part due to user error and another in what I think should be labeled as a bug.
Current behavior:
User does a search for specific hosts, selects a number of hosts to perform an action on. These host ids are added to the _ForemanSelectedhosts cookie. User executes action. User searches for another host and selects it for a action. _ForemanSelectedhosts still contains hosts from the previous selection even though they don't show up in the most recent search. You can verify this by highlighting over the top select checkbox or on the verification page when you go to perform the action.
Suggested behavior:
Though the hosts show up in the verification popup when you perform the action, you don't expect hosts that weren't recently selected to still be included in the action. I think it makes sense to clear the _ForemanSelectedhosts cookie once an action like "Build hosts" or "Change Group" has been performed.
Updated by Dominic Cleal over 10 years ago
- Related to Bug #3310: Hosts stay selected after host table refresh added
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2167 added
- Pull request deleted (
)
Updated by Dominic Cleal almost 10 years ago
- Assignee set to Shlomi Zadok
- Translation missing: en.field_release set to 28
Updated by Shlomi Zadok almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 8f38e945032c97cf6f2c01ba9080f3129f1327e6.
Updated by Dominic Cleal almost 10 years ago
- Related to Bug #9880: Selected hosts remain after closing and revisiting host list added
Updated by Dominic Cleal over 9 years ago
- Related to Bug #10408: Host checkboxes get cleared after action taken added