Project

General

Profile

Bug #12984

Can't delete activation key

Added by John Mitsch over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Activation Key
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When removing an activation key, I am seeing

An error occurred removing the Activation Key: Task 813c1d56-d2c8-4626-819d-ec4c8ef24cf9: ActiveRecord::InverseOfAssociationNotFoundError: Could not find the inverse association for pool_activation_keys (:activation_keys in Katello::PoolActivationKey)


Related issues

Has duplicate Katello - Bug #13826: Can't copy activation keyClosed2016-02-21
Has duplicate Katello - Bug #13382: Removing a content view with an associated activation keyDuplicate2016-01-26

Associated revisions

Revision de57a7b7 (diff)
Added by John Mitsch over 3 years ago

Fixes #12984 - Can't remove activation keys

Revision f6b942f7
Added by John Mitsch over 3 years ago

Merge pull request #5689 from johnpmitsch/activation_key_removal_bug

Fixes #12984 - Can't remove activation keys

History

#1 Updated by The Foreman Bot over 3 years ago

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

#2 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86

#3 Updated by John Mitsch over 3 years ago

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

#4 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 86 to 113

#5 Updated by Mario Gamboa over 3 years ago

i just update from katello 2.3 to 2.4.1 and still the issue

Procedure

- Upgrade katello 2.3 to 2.4
included products
- Centos
- Puppet
- Katello-Client

Activation keys
Centos 6

Content view
Centos

1.-After the upgrade i just create a new key and choice the library and the content view centos save the key no problem

2.- delete the key previously created

3.- errror An error occurred removing the Activation Key: Task 389a1d13-d33c1-2389-213a-dg4g5hf24cf9: ActiveRecord::InverseOfAssociationNotFoundError: Could not find the inverse association for pool_activation_keys (:activation_keys in Katello::PoolActivationKey)

#6 Updated by Justin Sherrill about 3 years ago

  • Has duplicate Bug #13826: Can't copy activation key added

#7 Updated by Justin Sherrill about 3 years ago

  • Has duplicate Bug #13382: Removing a content view with an associated activation key added

Also available in: Atom PDF