Bug 786138 - Adding RH repos to system template displays all repos instead of the Enabled Repositories
Summary: Adding RH repos to system template displays all repos instead of the Enabled ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-01-31 15:15 UTC by Kedar Bidarkar
Modified: 2019-09-25 21:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:23:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kedar Bidarkar 2012-01-31 15:15:57 UTC
Description of problem:

While adding RH Repositories to a system template it displays all the repositories available, instead of the enabled repositories.

via CLI,katello repo list command displays only the enabled repositories.


Version-Release number of selected component (if applicable):


How reproducible:
when trying to add repos to system template via UI, entire list of repos present in the subscription-manifest is displayed.

Steps to Reproduce:
1. import subscription manifest
2. enabled any 2 repositories
3. proceed to sys template creation
4. All the repos present in the subscription manifest are visible
  
Actual results:
On searching under the System_template-> repositories,
the entire repo list is displayed.

Expected results:
Only the repos enabled for sync needs to be listed. 


Additional info:

Comment 1 Mike McCune 2012-02-09 00:42:06 UTC
To clarify, this is during the Autocomplete when you do:

1) create template
2) click into the repositories on the *right* pane
3) click into the repository search text box and hit "R" for example, you see *ALL* the repos.

I definitely saw this.

Comment 3 Mike McCune 2012-02-09 00:45:12 UTC
tried to attach a screenshot but my browser makes the auto-complete dialog go away when the screenshot dialog comes up.

Comment 4 Brad Buckingham 2012-02-10 15:55:31 UTC
commit - cdfef6edfdef5577115072ded904f08bc786c475

Updated the search filter used to retrieve the repos to only include enabled repos.

Comment 6 Garik Khachikyan 2012-02-22 09:53:09 UTC
# VERIFIED

Procedure of showing available RH repositories is fixed.

Now in both: left and right panels *only* the enabled ones are listed.

checked against:
---
katello-0.1.238-4.el6.noarch
candlepin-0.5.20-1.el6.noarch
pulp-0.0.265-1.el6.noarch
---

Comment 8 Mike McCune 2013-08-16 18:17:15 UTC
getting rid of 6.0.0 version since that doesn't exist


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