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 2100887 - Repository sets and Errata tabs do not show toggle group when host is in Library environment but non-default content view
Summary: Repository sets and Errata tabs do not show toggle group when host is in Libr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.12.0
Assignee: Jeremy Lenz
QA Contact: Shweta Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-24 15:03 UTC by Jeremy Lenz
Modified: 2022-11-16 13:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:34:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35114 0 Normal New Repository sets and Errata tabs do not show toggle group when host is in Library environment but non-default content vie... 2022-06-24 15:03:15 UTC
Red Hat Issue Tracker SAT-11178 0 None None None 2022-09-16 15:30:33 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:34:24 UTC

Description Jeremy Lenz 2022-06-24 15:03:14 UTC
new host details page

On the Repository sets and Errata tabs, a toggle group "Show all / Limit to environment" shows when the host is a "non-library" host.

This is currently defined as

const nonLibraryHost = contentViewDefault === false &&
    lifecycleEnvironmentLibrary === false;

However, if only one of the two are non-default, nonLibraryHost ends up as false. This is incorrect. The toggle group should show if one of the two is non-default, not require both.  It should be

const nonLibraryHost = contentViewDefault === false ||
    lifecycleEnvironmentLibrary === false;

Comment 1 Jeremy Lenz 2022-06-24 15:03:17 UTC
Created from redmine issue https://projects.theforeman.org/issues/35114

Comment 2 Jeremy Lenz 2022-06-24 15:03:18 UTC
Upstream bug assigned to None

Comment 3 Bryan Kearney 2022-06-24 16:04:45 UTC
Upstream bug assigned to jlenz

Comment 4 Bryan Kearney 2022-06-24 16:04:47 UTC
Upstream bug assigned to jlenz

Comment 6 Bryan Kearney 2022-07-11 20:04:56 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35114 has been resolved.

Comment 7 Silas Pusateri 2022-09-16 15:14:59 UTC
Verified
Version Tested: Satellite 6.12.0 snap 10
Steps Followed: 
Create a content view (it doesn't need to have anything in it)
Create a lifecycle environment.

Get a host in
default CV and default environment
non-default CV and default environment
default CV and non-default environment
non-default CV and non-default environment

Results:
Show All/Limit to Environment Toggle is available in scenarios 2, 3  and 4 where it was previously only visible in scenario 4

Comment 12 errata-xmlrpc 2022-11-16 13:34:13 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 (Important: Satellite 6.12 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:8506


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