On Wed, Feb 8, 2012 at 1:37 PM, Bryan Kearney <bkearney(a)redhat.com> wrote:
On 02/08/2012 11:39 AM, Devan Goodwin wrote:
>
> This part of Candlepin is coming from initially designing for hosted
> products which are global in nature and that's likely why we added
> this uniqueness constraint.
>
> I don't see any real problem with removing it on the product name,
> aside from the fact that an org could make two products with the same
> name and in a lot of UI locations, would be unable to tell the
> difference. (unless Katello enforces product name uniqueness per org,
> which I guess it probably should)
Does name == id for this object?
No, products have their own id which is unique. I was against this
change since it means you can create duplicates with the same name
which just seems wrong, but compared to the alternative which seems
more complicated it's a quick solution for now.
jesus