Red Hat Bugzilla – Bug 617548
Product Model has artifacts of earlier models
Last modified: 2015-05-14 11:22:40 EDT
The product model has a join table at cp_product_cp_product_attribute AND a FK from cp_product_attribute to cp_product. Per Devan, the join table is correct. Attached is a possible, but untested, patch.
Patch doesn't seem to work, the tables come out right but the join table no longer gets populated, hopefully someone can spot my mistake.
Also tried with no join table, just a mapped by, this time the join table disappeared from the schema, but again the join column on cp_product_attributes doesn't get populated...
Created attachment 434012 [details]
possible patch from Devan
Is the goal a 1-n product -> attribute or m-n product -> attribute?
Fixed for both product and pool attributes. Now uses a join column instead of a table as well. Should see that column in cp_product_attributes and cp_pool_attributes.
Group move of VERIFIED Candlepin component bugs to RELEASE_PENDING