[katello-devel] Katello's Product#cp_id is NOT unique
Justin Sherrill
jsherril at redhat.com
Fri May 31 21:29:28 UTC 2013
Hi all,
Wanted to make sure everyone is aware that Product#cp_id is not a unique
attribute across katello. Candlepin does NOT duplicate red hat
products for each org the product exists in like katello does. Only a
single instance of that red hat product exists in Candlepin.
As a result: Product.find_by_cp_id(cp_id) cannot reliably return you
the product. I have overridden that functionality and changed all
instances here:
https://github.com/Katello/katello/pull/2413
-Justin
More information about the katello-devel
mailing list