Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1227170

Summary: Repo packages can be seen in channels the repo is not assigned to.
Product: [Community] Spacewalk Reporter: rmenezes
Component: WebUIAssignee: Grant Gainey <ggainey>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.3CC: rmenezes
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-03 15:30:13 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: 1484117    

Description rmenezes 2015-06-02 04:30:08 UTC
Description of problem:
Packages from a repo can be seen even on a channel where the repo is not assigned to it.


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


How reproducible: Always


Steps to Reproduce:
1. Create the following channel and child channels
   CentOS6 x86_64
   ├─CentOS6 Base x86_64
   └─CentOS6 Updates x86_64
2. Create the repo "CentOS6 Base x86_64" with repository URL "http://mirror.centos.org/centos/6/os/x86_64/"
3. Go to "Channels" > "Manage software channels" > "CentOS6 Base x86_64" > "Repositories" > check "CentOS6 Base x86_64" and click "Update Repositories" > Click the "Sync" tab > Click "Sync Now"
4. Wait for a few minutes for some of the packages to be synced.
5. Go to "Channels" > "Manage software channels" > "CentOS6 Update x86_64" > "Packages" > "Add"


Actual results:
You can now see the packages for repo "CentOS6 Base x86_64" in channel "CentOS6 Update x86_64" even when that channel does not have any repos assigned to it.

Expected results:
Only see packages for repos assigned to a channel.

Comment 1 Eric Herget 2017-09-28 18:10:54 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.