Bug 1239077
| Summary: | Cannot rename product back to original name after importing a manifest | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> |
| Component: | API | Assignee: | Tom McKay <tomckay> |
| Status: | CLOSED WONTFIX | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.8 | CC: | bkearney, chrobert, cwelton, erinn.looneytriggs, jnikolak |
| Target Milestone: | Unspecified | Keywords: | ReleaseNotes, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-22 17:53:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1190823 | ||
*** Bug 1238638 has been marked as a duplicate of this bug. *** Reset docs contact <> daobrien The work around code no longer exists in the product, so I am assuming this is no longer an issue. I am closing this out as WONTFIX. If you are still seeing this issue please feel free to re-open with additional information. |
Version-Release number of selected component (if applicable): 6.0.8 and 6.1.0 How reproducible: always Steps to Reproduce: 1. Create a product named 'foo' in a new org 2. Import a manifest 3. Rename the product to 'bar' 4. Attempt to rename the product back to 'foo' Actual results: Error: Validation failed: Name Product with name 'foo' already exists in this organization. Expected results: product renames successfully. Additional info: A workaround would be to do this: # foreman-rake console > Katello::MarketingProduct.find_by_name('foo').destroy and then rename again. Notice that the problem may come back as soon as you import or refresh a manifest