| Summary: | Cannot have same name product on different Orgs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Og Maciel <omaciel> | ||||
| Component: | API | Assignee: | Tomas Strachota <tstrachota> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.0 | CC: | bkearney, cwelton, gkhachik, gstoecke, hbrock, inecas, jlabocki, jlaska, tomckay, tstrachota | ||||
| Target Milestone: | Unspecified | Keywords: | TestBlocker, Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | candlepin-0.5.23, katello-0.2.3-1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 802795 (view as bug list) | Environment: | |||||
| Last Closed: | 2012-08-22 18:23:00 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | 788940 | ||||||
| Bug Blocks: | 747354, 802795 | ||||||
| Attachments: |
|
||||||
Adding qa_ack for cloudforms-1.0.0 ... straightforward to test and easy to document+workaround for the beta. This error is caused by candlepin not allowing to have two products with the same name. I'm investigating if they could remove the uniqueness constraint. We're waiting for candlepin bug 788940. Once it is fixed it will be possible to create products with the same name (in different orgs) also in Katello. *** Bug 795926 has been marked as a duplicate of this bug. *** *** Bug 749517 has been marked as a duplicate of this bug. *** Name uniqueness constraint was removed from products in candlepin-0.5.23 With this version it is possible to have same name for products in different orgs. QA Verified with candlepin candlepin-0.5.23-1.el6.noarch This isn't even in katello yet, will hold ON_QA until it's in a real build. It's fixed in the current brew build. QA Verified: 0.1.303-1.el6 |
Created attachment 557533 [details] katello log with full traceback Description of problem: Seems that we cannot have a product with the same name in different Orgs. Version-Release number of selected component (if applicable): Katello Version: 0.1.195-1.el6 How reproducible: Steps to Reproduce: 1. Create Org1 with a product Prod1 2. Create Org2 with a product Prod1 (same as the one above 3. Actual results: Seeing this error message: Runtime Error Could not execute JDBC batch update at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError:2,598 Expected results: Additional info: Removing Prod1 from Org1 and then adding it to Org2 works. See attached log.