Bug #9519
closed
Custom product pools have no providedProducts
Added by Justin Sherrill almost 10 years ago.
Updated over 6 years ago.
Description
Redhat pools seem to have two product collections:
providedProducts - engineering products
productAttributes - seem to be 'marketing products' with no content
however pools for custom products only have 'productAttributes' which has the engineering product (as we don't create a separate marketing product).
This is a weird mismatch and needs to be investigated.
- Status changed from New to Closed
closing as this seems okay
```
jsherrill | dgoodwin: i noticed that for redhat pools
jsherrill | there is a list of providedProducts and productAttributes
jsherrill | providedProducts appear to be engineering products (that have content), and
| productAttributes appear to be marketing products (which do not)
jsherrill | with me so far?
dgoodwin | correct
jsherrill | now for custom products, the providedProducts list is empty
jsherrill | and the productAttributes has the product that we created that does have
| content
dgoodwin | empty provided products sounds ok as no systems would be reporting those as
| instaleld product ids
dgoodwin | not necessarily wrong there
dgoodwin | product attributes, what do you see there exactly
jsherrill | one sec, let me make sure i'm getting the right data
jsherrill | dgoodwin: http://fpaste.org/189419/42472521/
jsherrill | thats the content of 'productAttributes'
jsherrill | of the pool
dgoodwin | ok yeah that looks ok
dgoodwin | jsherrill: so pool.productId must be your custom product ID, normally that's
| a sku, and productAttributes are the attributes from that SKU product
dgoodwin | in your case there probably aren't any unless there's special behaviour you
| want for the custom product
dgoodwin | which is unlikely
jsherrill | nah
dgoodwin | jsherrill: thus far it seems ok
jsherrill | okay
jsherrill | thanks!
dgoodwin | np
jsherrill | it seemed kinda opposite for custom and redhat products
```
- Translation missing: en.field_release set to 31
Also available in: Atom
PDF