Project

General

Profile

Actions

Bug #35114

closed

Repository sets and Errata tabs do not show toggle group when host is in Library environment but non-default content view

Added by Jeremy Lenz almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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;

Actions #1

Updated by Jeremy Lenz almost 2 years ago

  • Bugzilla link set to 2100887
Actions #2

Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Jeremy Lenz
  • Pull request https://github.com/Katello/katello/pull/10175 added
Actions #3

Updated by Ian Ballou over 1 year ago

  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.6.0 added
Actions #5

Updated by Jeremy Lenz over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF