Bug 2100887
| Summary: | Repository sets and Errata tabs do not show toggle group when host is in Library environment but non-default content view | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jeremy Lenz <jlenz> |
| Component: | Hosts - Content | Assignee: | Jeremy Lenz <jlenz> |
| Status: | CLOSED ERRATA | QA Contact: | Shweta Singh <shwsingh> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.11.0 | CC: | zhunting |
| Target Milestone: | 6.12.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-16 13:34:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Created from redmine issue https://projects.theforeman.org/issues/35114 Upstream bug assigned to None Upstream bug assigned to jlenz Upstream bug assigned to jlenz Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35114 has been resolved. 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 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 |
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;