Bug 796283

Summary: Deleting a custom product doesn't remove association to activation key
Product: Red Hat Satellite Reporter: Ivan Necas <inecas>
Component: Content ManagementAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Garik Khachikyan <gkhachik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: bkearney, gkhachik, mkoci
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:28:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ivan Necas 2012-02-22 15:50:21 UTC
Description of problem:
Deleting a custom product doesn't remove association to activation key

Version-Release number of selected component (if applicable):
katello-0.1.238-4.el6.noarch

How reproducible:


Steps to Reproduce:
Reproduced when:
1. create custom product
2. create activation key
3. assigning product to the activation key
4. delete product
5. show assigned products through UI

Actual results:
undefined method `productName' for nil:NilClass in UI
unable to use the AK
unable to remove pool from activation key in CLI

Expected results:
No error
activation key still working without the deleted product
pool is not in activation key

Comment 1 Ivan Necas 2012-02-22 15:51:54 UTC
Fixed in katello commit 9da1040709b303f8d36bcb0a358b40e7ec200422