Bug #15981
No proper subscriptions created for custom products
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1362194
Description of problem:
When trying to assign a subscription for a custom product to an activation key, the activation key doesn't show up. The only thing that does show up in the list of subscriptions, is an entry named 'null', which you cannot add to the activation key either, because of the following error:
redhat?' for nil:NilClass
Version-Release number of selected component (if applicable):
6.2.0
How reproducible:
Steps to Reproduce:
1. Create custom product
2. Navigate to an activation key, subscriptions, add
3.
Actual results:
Product does not show up by itself, only an entry named 'null', which you cannot use (see above for error)
Expected results:
For each custom product a properly named subscription is created and it's possible to add those subs to activation keys
Additional info:
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to John Mitsch
- Pull request https://github.com/Katello/katello/pull/6227 added
#2
Updated by Justin Sherrill over 4 years ago
- Legacy Backlogs Release (now unused) set to 171
#3
Updated by Brad Buckingham over 4 years ago
- Blocks Tracker #15825: Sprint 1 : Content-Focused added
#4
Updated by John Mitsch over 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|54c453cdff9f80b200f8939dae3f38809d073e46.
#5
Updated by Eric Helms about 4 years ago
- Legacy Backlogs Release (now unused) changed from 171 to 162
Fixes #15981 - Import sub for custom product after save (#6227)
Subscriptions were being imported for a custom product, but not
associating to that product's pool. Importing them after they have
been saved with candlepin id will assure the association is being
created.