Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionBrad Buckingham
2012-02-01 20:42:54 UTC
Description of problem:
If a user adds a product to a system template and then also adds to the template one of the repositories that exists in that product, the generated TDL contains multiple entries for that repository.
This bugzilla is to ensure that when TDL export is generated, the output does not include duplicate repositories.
Version-Release number of selected component (if applicable):
git master
How reproducible:
always
Steps to Reproduce:
1. Create a product/provider/repo
2. Sync the repo
3. Go to Content Management -> System Templates
4. Create a new system template
5. Add the product from 1 to the template
6. Add the repo from 1 to the template
7. Save the template
8. Download the template
Actual results:
Observe that the template exported (downloaded) contains duplicate entries for the repo.
E.g.
<repository name="rhel 6-1 repo">
<url>
https://localhost/pulp/repos/ACME_Corporation/Library/custom/rhel_6-1/rhel_6-1_repo
</url>
<persisted>No</persisted>
</repository>
<repository name="rhel 6-1 repo">
<url>
https://localhost/pulp/repos/ACME_Corporation/Library/custom/rhel_6-1/rhel_6-1_repo
</url>
<persisted>No</persisted>
</repository>
Expected results:
The repo should only be listed once in the TDL exported.
Additional info: