Project

General

Profile

Bug #35386

Activation key can be deleted, but still shows up in hostgroup configuration

Added by Partha Aji 4 months ago. Updated 3 months ago.

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

Description

Description of problem:

Activation key can be deleted if it is part of a hostgroup, after successful deletion it still shows up in hostgroup configuration

How reproducible:

100%

Steps to Reproduce:
1. Create an Activation Key
2. Create a hostgroup and that activation key to hostgroup.
3. Now delete the activation key created in Step1
4. Check under Activation Key of hostgroup, deleted activation key is still listed.

Actual results:

After deleting the activation key, it is still listed under hostgroup.

Expected results:

As activation key is part of hostgroup so Satellite should not allow to delete this key.

Associated revisions

Revision dcfc73ea (diff)
Added by Partha Aji 4 months ago

Fixes #35386 - Prevents AK destroy if associated to HG (#10243)

History

#1 Updated by Partha Aji 4 months ago

  • Bugzilla link set to 1995470

#2 Updated by The Foreman Bot 4 months ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10243 added

#3 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases Katello 4.7.0 added

#4 Updated by Partha Aji 4 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Lucy Fu 3 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.7.0

Also available in: Atom PDF