You can create duplicate products based on name within an individual provider. This breaks CLI and API tools that require you to look up the product based on name. The CLI and API allow you to do the following: katello product create --name product-one --provider test_prov --label=product-one1 katello product create --name product-one --provider test_prov --label=product-one2 katello product create --name product-one --provider test_prov --label=product-one3 katello product create --name product-one --provider test_prov --label=product-one4 this means that you can't reference the product in subsequent calls: katello repo create --name repo-one --product product-one --url http://something/test Lets check to see if in 1.0 product names were required to be unique and if so lets re-enforce this restriction.
Note, with 1.0.1 you can't do the above: # katello product create --name product-one --provider test_prov --org ACME_Corporation Successfully created product [ product-one ] # katello product create --name product-one --provider test_prov --org ACME_Corporation Validation failed: Products within an organization must have unique name. definite a regression
found out we have to make product name *not* unique because of BZ: commit a87bd08016ce785999159b2f44aae39ef5059aae Author: Adam Price <adprice> Date: Tue Aug 21 09:31:26 2012 -0400 844806 - katello incorrectly prevents products with the same name in an organization removes the uniqueness validation for product names