Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1238638 - Error Satellite 6.0.8 Product with name 'xxx' already exists in this organization
Summary: Error Satellite 6.0.8 Product with name 'xxx' already exists in this organiz...
Keywords:
Status: CLOSED DUPLICATE of bug 1239077
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Other
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-02 10:37 UTC by jnikolak
Modified: 2019-07-11 09:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-07 17:21:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description jnikolak 2015-07-02 10:37:48 UTC
Renaming a product causes an error:

Note that this doesn't occur with new products but only with old products.


When doing the following

1. Rename a product from NAME1 to NAME2
2. Rename the same product back from NAME2 to NAME2

You get the error
 Product with name 'xxx' already exists in this organization

Customer ran some database queries to locate the Product.

It appears to be created in marketing_products

foreman=# select * from katello_products where name LIKE '%Openwave%';
 id |   name    | description |     cp_id     | multiplier | provider_id |         created_at         |         updated_at         | gpg_key_id |           type            | sync_plan_id |         label          | organization_id
----+-----------+-------------+---------------+------------+-------------+----------------------------+----------------------------+------------+---------------------------+--------------+------------------------+-----------------
 39 | Openwave  |             | 1431491295115 |            |           4 | 2015-06-29 13:49:00.159878 | 2015-06-29 13:49:00.159878 |            | Katello::MarketingProduct |              | Openwave_1431491295115 |               3
 34 | Openwave3 |             | 1431491295115 |            |           3 | 2015-05-13 04:28:14.849533 | 2015-07-02 04:07:26.908304 |          3 | Katello::Product          |              | Openwave               |               3
(2 rows)


Is this bug resolved in 6.1 and if not, can we have a workaround?

Comment 1 RHEL Program Management 2015-07-02 11:03:54 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Brad Buckingham 2015-07-07 17:21:53 UTC

*** This bug has been marked as a duplicate of bug 1239077 ***


Note You need to log in before you can comment on or make changes to this bug.