Project

General

Profile

Actions

Bug #19672

closed

Plugins adding host bulk actions are broken in Foreman 1.15

Added by Marek Hulán over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When #16043 was merged, a new method multiple_with_filter? has been introduced in hosts_controller and exposed via helper_method. It's also being used in generic helper HostsAndHostgroupsHelper#multiple_filter and it works since most actions are implemented in hosts controller. If plugin adds actions (e.g. foreman_openscap - assign compliance policy), a plugin controller is used and the method is undefined. This method should be probably available globally or the helper should duplicate the logic and check for search param presence. I believe this affects all plugins introducing custom bulk actions and should be fixed in 1.15 branch.


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #16043: Unable to select all hosts from the GUIClosedAmir Fefer08/10/2016Actions
Has duplicate OpenSCAP - Bug #19916: Try assign policy of openscap to a host and error appear in new katello 3.4Duplicate06/04/2017Actions
Has duplicate OpenSCAP - Bug #19518: Assign policy to hosts modal loads indefintelyDuplicate05/11/2017Actions
Actions

Also available in: Atom PDF