Actions
Bug #23084
closedactivation-key copy fails with "undefined method" and Internal Server Error
Difficulty:
Triaged:
Bugzilla link:
Description
1) Create an activation key with some content overrides
2) Select actions -> Copy
notice an ISE
NoMethodError: undefined method `[]' for #<Katello::ContentOverride:0x007f8f66e35498> | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.58/app/controllers/katello/api/v2/activation_keys_controller.rb:98:in `block in copy' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.58/app/controllers/katello/api/v2/activation_keys_controller.rb:97:in `each' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.58/app/controllers/katello/api/v2/activation_keys_controller.rb:97:in `copy'
Actions