Project

General

Profile

Actions

Bug #6739

closed

bulk action "unregister content hosts" throws error @search_service search not defined

Added by Thomas McKay over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

RuntimeError: @search_service search not defined
/home/thomasmckay/code/katello/app/controllers/katello/api/v2/api_controller.rb:49:in `item_search'
/home/thomasmckay/code/katello/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:219:in `find_system_ids_by_search'
/home/thomasmckay/code/katello/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:198:in `find_systems'
/home/thomasmckay/code/katello/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:184:in `find_deletable_systems'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:531:in `block (3 levels) in _run__3767425233859936060__process_action__4323062264504917719__callbacks'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_4210'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:326:in `around'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:310:in `_callback_around_2911'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_4210'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:482:in `block (2 levels) in _run__3767425233859936060__process_action__4323062264504917719__callbacks'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_4209'
/home/thomasmckay/code/foreman/app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_4209'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:415:in `block in _run__3767425233859936060__process_action__4323062264504917719__callbacks'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_4208'
/usr/local/rvm/gems/ruby-1.9.3-p448@foreman/gems/activesupport-3.2.18/lib/active_support/callbacks.rb:326:in `around'
Actions

Also available in: Atom PDF