Project

General

Profile

Bug #15981

No proper subscriptions created for custom products

Added by John Mitsch over 2 years ago. Updated 9 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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

Blocks Katello - Tracker #15825: Sprint 1 : Content-FocusedNew2016-07-24

Associated revisions

Revision 54c453cd (diff)
Added by John Mitsch over 2 years ago

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.

History

#1 Updated by The Foreman Bot over 2 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 2 years ago

  • Legacy Backlogs Release (now unused) set to 171

#3 Updated by Brad Buckingham over 2 years ago

#4 Updated by John Mitsch over 2 years ago

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

#5 Updated by Eric Helms over 2 years ago

  • Legacy Backlogs Release (now unused) changed from 171 to 162

Also available in: Atom PDF