Bug #6120
closedSystem bulk package install fails with "can't convert Symbol into Integer"
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:
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
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.