Bug 796283 - Deleting a custom product doesn't remove association to activation key
Summary: Deleting a custom product doesn't remove association to activation key
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-22 15:50 UTC by Ivan Necas
Modified: 2019-09-25 21:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:28:50 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 795862 0 unspecified CLOSED Activation Keys for Orgs with multiple environment paths show undefined method productName error 2021-02-22 00:41:40 UTC

Internal Links: 795862

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


Note You need to log in before you can comment on or make changes to this bug.