Project

General

Profile

Actions

Bug #23084

closed

activation-key copy fails with "undefined method" and Internal Server Error

Added by Partha Aji about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Activation Key
Target version:
Fixed in Releases:
Found in Releases:

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 #1

Updated by Partha Aji about 6 years ago

  • Category set to Activation Key
  • Target version set to 245
Actions #2

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7274 added
Actions #3

Updated by Partha Aji about 6 years ago

  • Bugzilla link set to 1553338
Actions #4

Updated by John Mitsch about 6 years ago

  • translation missing: en.field_release set to 338
Actions #5

Updated by Partha Aji about 6 years ago

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

Updated by The Foreman Bot almost 6 years ago

  • Pull request https://github.com/Katello/katello/pull/7345 added
Actions

Also available in: Atom PDF