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'
Updated by Partha Aji almost 7 years ago
- Category set to Activation Key
- Target version set to 245
Updated by The Foreman Bot almost 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7274 added
Updated by John Mitsch over 6 years ago
- Translation missing: en.field_release set to 338
Updated by Partha Aji over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|bc606efb144c2c60b12c26bc6187e8a13b2e535c.
Updated by The Foreman Bot over 6 years ago
- Pull request https://github.com/Katello/katello/pull/7345 added
Actions