Project

General

Profile

Actions

Bug #8594

closed

Content View Errata by ID filter 'List/Remove' tab errors

Added by Justin Sherrill over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
API
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Justin Sherrill over 9 years ago

  • Bugzilla link set to 1171181
Actions #2

Updated by Eric Helms over 9 years ago

  • Translation missing: en.field_release changed from 14 to 23
Actions #3

Updated by Justin Sherrill over 9 years ago

  • Translation missing: en.field_release changed from 23 to 14
Actions #4

Updated by Eric Helms over 9 years ago

  • Target version set to 63
Actions #5

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/4901 added
  • Pull request deleted ()
Actions #6

Updated by Eric Helms over 9 years ago

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

Also available in: Atom PDF