Project

General

Profile

Actions

Bug #19672

closed

Plugins adding host bulk actions are broken in Foreman 1.15

Added by Marek Hulán almost 7 years ago. Updated almost 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 #1

Updated by Marek Hulán almost 7 years ago

  • Related to Bug #16043: Unable to select all hosts from the GUI added
Actions #2

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/4557 added
Actions #3

Updated by Daniel Lobato Garcia almost 7 years ago

  • translation missing: en.field_release set to 248
Actions #4

Updated by Anonymous almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Ondřej Pražák almost 7 years ago

  • Has duplicate Bug #19916: Try assign policy of openscap to a host and error appear in new katello 3.4 added
Actions #6

Updated by Ondřej Pražák almost 7 years ago

  • Has duplicate Bug #19518: Assign policy to hosts modal loads indefintely added
Actions

Also available in: Atom PDF