Project

General

Profile

Actions

Bug #6120

closed

System bulk package install fails with "can't convert Symbol into Integer"

Added by Brad Buckingham over 10 years ago. Updated over 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1102963
Description of problem:
Internal server error when performing a package install through the bulk action interface on the content hosts page.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Select at least one system
2. Click on bulk actions
3. Enter 'httpd' package
4. Click 'install'

Actual results:
TypeError: can't convert Symbol into Integer
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:94:in `[]'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:94:in `save_job'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:35:in `block in install_packages'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:88:in `perform_bulk_action'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/lib/katello/bulk_actions.rb:33:in `install_packages'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:239:in `content_action'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb:120:in `install_content'

Expected results:

Additional info:

Actions #1

Updated by Brad Buckingham over 10 years ago

  • Assignee set to Brad Buckingham
  • Translation missing: en.field_release set to 13
  • Triaged set to Yes
Actions #2

Updated by Brad Buckingham over 10 years ago

  • Target version set to 45
Actions #3

Updated by Brad Buckingham over 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:b7369efc3ef1dd65bc0bce50ff4c5fa8536c63e7.

Actions

Also available in: Atom PDF