Bug 2049913

Summary: Repo filtering shows all products and repos in different organizations
Product: Red Hat Satellite Reporter: Lai <ltran>
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: jsherril, pcreech, sbible
Target Milestone: 6.11.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.3.0.3-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:32:43 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
Shows all products and repos in every org none

Description Lai 2022-02-02 21:58:12 UTC
Created attachment 1858762 [details]
Shows all products and repos in every org

Created attachment 1858762 [details]
Shows all products and repos in every org

Description of problem:
When you create a bunch of different orgs with different products and different repos, it will all show up in the repos filtering section of a cv.

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

How reproducible:
100%

Steps to Reproduce:
1. Create a bunch of orgs
2. Create and sync a bunch of different products and repos within each of those orgs created in step 1
3. Create a cv
4. Drill to repositories tab
5. filter status to "not added"

Actual results:
Table shows all products and repos from all orgs and not scoped to just that org

Expected results:
Table should only show the products and repos scoped to the particular org

Additional info:
It's good that there is an error message that pops up that prevents the user from adding the repos from another org.

Comment 1 Justin Sherrill 2022-02-07 15:29:37 UTC
Created redmine issue https://projects.theforeman.org/issues/34407 from this bug

Comment 3 Lai 2022-02-21 17:31:12 UTC
Steps to retest:
1. Create a bunch of a new
2. Create and sync a bunch of different products and repos within each of those orgs created in step 1
3. Create a cv
4. Drill to repositories tab
5. filter status to "not added"

Expected:
Each org should have their own repos tied to that org

Actual:
Each org does have their own repos tied to that org.

Additional info: I basically have Default_Org and created another org.  Each one I had separate repos and after filtering, the list only scopes to that repo.

Verified on 7.0_010 with rubygem-katello-4.3.0.3-1.el8sat.noarch

Comment 7 errata-xmlrpc 2022-07-05 14:32:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498