On Thu, Jul 22, 2010 at 12:59 PM, Devan Goodwin dgoodwin@rm-rf.ca wrote:
On Thu, Jul 22, 2010 at 10:46 AM, Bryan Kearney bkearney@redhat.com wrote:
I am scanning the product model (attached).
Couple of Questions:
- what is multiplier on the product?
- content carries a vendor.. should that also be on the product?
- On the product_content table, what are flexentitlement and
physicalentitlement?
- I see a join table at cp_product_cp_product_attribute AND a FK from
cp_product_attribute to cp_product. Which is correct?
I think the join table is correct, in my DB cp_product_attribute.product_id is there, but nothing ever gets put into it. Not sure why column is in there but I will investigate.
I cannot seem to get this to work, with just a day left before PTO I'm going to switch off to wrap up the stories I'm working on instead. I'm going to attach a patch of my attempted fix, by lining them up with the annotations we use in similar locations like Pool.entitlements. However for whatever reason, this patch correctly drops the productid column in the product attributes table, but the join table is just left completely empty. (so the attributes do not get associated with a product anymore) Not sure if it has something to do with the non-numeric ID we use for products?
Anyhow if anyone wants to take a crack while I'm out, the patch is attached. You'll see in the patch the PoolAttributes need similar treatment.
Cheers,
Devan