Project

General

Profile

Actions

Bug #19518

closed

Assign policy to hosts modal loads indefintely

Added by Ondřej Pražák over 7 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The modal fails to load because there is a helper missing:

2017-05-11T06:14:37 9a2e77a9 [app] [I]   Rendered hosts/_selected_hosts.html.erb (115.4ms)
2017-05-11T06:14:37 9a2e77a9 [app] [I]   Rendered /home/vagrant/projects/foreman_openscap/app/views/policies/select_multiple_hosts.html.erb within layouts/application (123.6ms)
2017-05-11T06:14:37 9a2e77a9 [app] [I] Completed 500 Internal Server Error in 318ms (ActiveRecord: 24.3ms)
2017-05-11T06:14:37 9a2e77a9 [app] [F] 
 | ActionView::Template::Error (undefined method `multiple_with_filter?' for #<#<Class:0x00000010a4bdb0>:0x00000010a45aa0>):
 |     1: <div class="row">
 |     2:   <%= alert(:class => 'alert-info hide', :id => 'multiple-modal-alert', :close => true, :header => '',
 |     3:             :text => multiple_filter(hosts)) %>
 |     4:   <% unless multiple_with_filter? %>
 |     5:     <table class="<%= table_css_classes %>">
 |     6:       <thead>
 |   app/helpers/hosts_and_hostgroups_helper.rb:48:in `multiple_filter'
 |   app/views/hosts/_selected_hosts.html.erb:3:in `_162b7a35eedd0453b1b53ea39f7b36cf'
 |   /home/vagrant/projects/foreman_openscap/app/views/policies/select_multiple_hosts.html.erb:1:in `_7cca9902f1e642cc360cceb43d06b54b'
 |   app/controllers/concerns/application_shared.rb:15:in `set_timezone'
 |   app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 |   app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 |   /home/vagrant/projects/katello/lib/katello/params_parser_wrapper.rb:12:in `call'
 |   lib/middleware/catch_json_parse_errors.rb:8:in `call'
 |   lib/middleware/tagged_logging.rb:18:in `call'

Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #19672: Plugins adding host bulk actions are broken in Foreman 1.15ClosedMarek Hulán05/25/2017Actions
Actions #1

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

  • Is duplicate of Bug #17962: Add Katello's permissions to Manager and and Viewer roles added
Actions #2

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

  • Is duplicate of deleted (Bug #17962: Add Katello's permissions to Manager and and Viewer roles)
Actions #3

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

  • Is duplicate of Bug #19672: Plugins adding host bulk actions are broken in Foreman 1.15 added
Actions #4

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

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF