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.

Bug 810395

Summary: Unable to remove a repository from a changeset
Product: Red Hat Satellite Reporter: James Laska <jlaska>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED WORKSFORME QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: cpelland, jturner, mmccune
Target Milestone: UnspecifiedKeywords: 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: 2012-06-14 18:39:55 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:
Attachments:
Description Flags
one.png
none
two.png
none
three.png none

Description James Laska 2012-04-05 20:44:59 UTC
Created attachment 575546 [details]
one.png

Description of problem:

Clicking "Remove" on a repository in a promotion changeset, results in a new repository being added, with the name of "undefined".

I can then click "Remove" on the "undefined" repository.  

Unfortunately, I cannot remove the repo I want to remove.  I am able to work around this in the CLI.

Version-Release number of selected component (if applicable):
 * candlepin-0.5.26-1.el6.src.rpm
 * katello-0.1.307-1.el6.src.rpm
 * katello-candlepin-cert-key-pair-1.0-1.src.rpm
 * katello-certs-tools-1.0.4-1.el6.src.rpm
 * katello-cli-0.1.107-1.el6.src.rpm
 * katello-configure-0.1.107-1.el6.src.rpm
 * katello-qpid-broker-key-pair-1.0-1.src.rpm
 * katello-qpid-client-key-pair-1.0-1.src.rpm
 * katello-selinux-0.1.10-1.el6.src.rpm
 * pulp-1.0.2-1.el6.src.rpm

Steps to Reproduce:
1. Edit a promotion changeset, navigate to the repositories included in the changeset.  
   * See attached screenshot - one.png
2. Select <remove> next to a repository
   * See attached screenshot - two.png
  
Actual results:

 * After clicking "remove", a new repository is added (see actual results screenshot).  I can then click "remove" on the "undefined" repository, and it is removed from the web-ui (see three.png)

Expected results:
 
 * The repo should be removed after I click "Remove" ... nothing else.

Additional info:

Comment 1 James Laska 2012-04-05 20:45:20 UTC
Created attachment 575547 [details]
two.png

Comment 2 James Laska 2012-04-05 20:45:44 UTC
Created attachment 575548 [details]
three.png

Comment 3 James Laska 2012-04-10 17:12:25 UTC
I'm unable to consistently reproduce this failure.  In fact, I haven't managed to reproduce it yet.  Moving this out to 1.0.z for now.

Comment 4 Mike McCune 2012-05-25 17:58:44 UTC
I tried to reproduce this again with the GA version of CFSE and could not in any way reproduce it.

Proposing we CLOSED:WORKSFORME

Comment 5 James Laska 2012-06-14 18:39:55 UTC
(In reply to comment #4)
> I tried to reproduce this again with the GA version of CFSE and could not in
> any way reproduce it.

I'm also unable to reproduce this failure.

> Proposing we CLOSED:WORKSFORME

Agreed!