Candlepin today attempts to calculate the prodcut name on the fly. It should, instead, just store it in the DB all the time. To do this, the following changes should be made:
1) When creating the pool, set the product name to the result of calling getProductNamesByProductId
2) Ensure this is persistted.
3) remove the calls to addProductName in the curator.
Fixed in candlepin.git:
Can you verify this bugzilla since it appears to be a change in code implementation with results that are transparent to the end user.
We've killed off the code that set these on the fly, added code to set them when pools are created. This code has been deployed in IT for awhile, product names are appearing healthy, unit tests passing, going to call it verified.