Description of problem: When two products with same name, but under different providers exists, No way to find which provider a product belongs to when choosing via existing product under the Repo discovery section. Version-Release number of selected component (if applicable): Satellite-6.0.2-RHEL-6-20130925.0 How reproducible: In as scenario, where there are 2 products with same name, but under two different providers and when creating repo via repo-discovery and choosing Existing Products. Steps to Reproduce: 1. 2. 3. Actual results: Currently no way to know, as to which provider a product belongs to. Expected results: There should be a way to find as to which provider a product belongs to. Additional info:
Kedar, our UI currently does not handle multiple products with the same name very well at all. We do not list the provider with the product on most any other screen (content search, content views, etc..) I would be more in favor of requiring unique product names for custom products, do you agree?
I think in that case we need to disable creating 2 product's with same names from both UI and CLI.
+1 to that, working on this now.
Though this would resolve this current BZ, I don't necessarily agree with it. Labels are unique but names don't have to be. The UI could expose another field which the automation could then use to check for the specific item imho
Og, whats your reasoning for why name shouldn't be unique? Why would a user want 2 products with the same name?
Og, also to really truly support this, we would need to show some sort of identifying information everywhere we show products. To me 2 products with the same name in the same org simply does not make sense.
to clarify, we are proposing it to be unique per org
Talked to Justin and I misunderstood comment #2. Name uniqueness per Org makes perfect sense.
Please: make the fix for CLI side as well (disabling creation of product with the same name within scopes of one org? I believe). thanks.
https://github.com/Katello/katello/pull/3216
Commit no longer allows custom product names to be duplicated within an organization. Red hat products are not affected. Tested with cli and UI.
Created attachment 814927 [details] the msg when products are unique
Attached the msg pic above, stands VERIFIED with Satellite-6.0.2-RHEL-6-20131021.0.
This was verified and delivered with MDP2. Closing it out.
This was delivered and verified with MDP2. Closing the bug.