Bug #8594
closedContent View Errata by ID filter 'List/Remove' tab errors
Description
1. create a content view
2. add a repository with errata to it
3. Create a errata by id 'include' filter
4. go to 'Add' tab
5. Select some errata and click add errata
6. go to List/Remove page
Errors with traceback in ajax request:
ArgumentError: wrong number of arguments (2 for 1)
/home/vagrant/katello/app/controllers/katello/api/v2/errata_controller.rb:41:in `filter_by_content_view_filter'
/home/vagrant/katello/app/controllers/katello/concerns/api/v2/repository_db_content_controller.rb:54:in `index_relation'
/home/vagrant/katello/app/controllers/katello/concerns/api/v2/repository_db_content_controller.rb:26:in `index'
/home/vagrant/katello/app/controllers/katello/api/v2/errata_controller.rb:27:in `index'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/actionpack-3.2.21/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:167:in `process_action'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/actionpack-3.2.21/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:560:in `block (3 levels) in run_1919809952475137643__process_action__924257201874667573__callbacks'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in conditional_callback_around_6497'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:326:in `around'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:310:in `_callback_around_3701'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_6497'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:482:in `block (2 levels) in _run_1919809952475137643__process_action__924257201874667573__callbacks'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in conditional_callback_around_6496'
/home/vagrant/foreman/app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_6496'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:426:in `block in _run_1919