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 1484044 - Content Host Installable Errata show wrong icons color when 0 applicable
Summary: Content Host Installable Errata show wrong icons color when 0 applicable
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.3.0
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Silvie Chlupova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-22 14:09 UTC by Djebran Lezzoum
Modified: 2018-09-04 17:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 17:46:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
content-host with 0 installable erratum (348.19 KB, image/png)
2017-08-22 14:09 UTC, Djebran Lezzoum
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20714 0 None None None 2017-08-23 15:36:29 UTC

Description Djebran Lezzoum 2017-08-22 14:09:15 UTC
Created attachment 1316657 [details]
content-host with 0 installable erratum

Description of problem:
Content Host Installable Errata show wrong icons color when 0 applicable

Version-Release number of selected component (if applicable):
* candlepin-2.0.40-1.el7.noarch
* candlepin-selinux-2.0.40-1.el7.noarch
* foreman-1.15.3-1.el7sat.noarch
* foreman-cli-1.15.3-1.el7sat.noarch
* foreman-compute-1.15.3-1.el7sat.noarch
* foreman-debug-1.15.3-1.el7sat.noarch
* foreman-discovery-image-3.1.1-22.el7sat.noarch
* foreman-ec2-1.15.3-1.el7sat.noarch
* foreman-gce-1.15.3-1.el7sat.noarch
* foreman-installer-1.15.2-1.el7sat.noarch
* foreman-installer-katello-3.4.4-1.el7sat.noarch
* foreman-libvirt-1.15.3-1.el7sat.noarch
* foreman-openstack-1.15.3-1.el7sat.noarch
* foreman-ovirt-1.15.3-1.el7sat.noarch
* foreman-postgresql-1.15.3-1.el7sat.noarch
* foreman-proxy-1.15.3-1.el7sat.noarch
* foreman-rackspace-1.15.3-1.el7sat.noarch
* foreman-selinux-1.15.3-1.el7sat.noarch
* foreman-vmware-1.15.3-1.el7sat.noarch
* katello-3.4.4-2.el7sat.noarch
* katello-ca-consumer-sat-r220-02.lab.eng.rdu2.redhat.com-1.0-4.noarch
* katello-certs-tools-2.4.0-1.el7sat.noarch
* katello-client-bootstrap-1.4.0-1.el7sat.noarch
* katello-common-3.4.4-2.el7sat.noarch
* katello-debug-3.4.4-2.el7sat.noarch
* katello-default-ca-1.0-1.noarch
* katello-installer-base-3.4.4-1.el7sat.noarch
* katello-selinux-3.0.2-1.el7sat.noarch
* katello-server-ca-1.0-1.noarch
* katello-service-3.4.4-2.el7sat.noarch
* openldap-2.4.44-5.el7.x86_64
* pulp-client-1.0-1.noarch
* pulp-docker-plugins-2.4.0-2.el7sat.noarch
* pulp-katello-1.0.2-1.el7sat.noarch
* pulp-ostree-plugins-1.2.1-3.el7sat.noarch
* pulp-puppet-plugins-2.13.3-1.el7sat.noarch
* pulp-puppet-tools-2.13.3-1.el7sat.noarch
* pulp-rpm-plugins-2.13.3-1.el7sat.noarch
* pulp-selinux-2.13.3-1.el7sat.noarch
* pulp-server-2.13.3-1.el7sat.noarch
* python-ldap-2.4.15-2.el7.x86_64
* tfm-rubygem-ldap_fluff-0.4.6-1.el7sat.noarch
* tfm-rubygem-net-ldap-0.15.0-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Setup a content view and register it with activation key
   do not install any package (so we should have no erratum installable)
2. Goto Hosts > Content Hosts
3. Select the registered content host

Actual results:
The actual Installable Errata show 0 in all section, but the icons shown blue color 

Expected results:
The icons must be black color

Additional info:
as per the ng-class it must be black (but not applied):
<i class="fa fa-warning inline-icon" ng-class="{black: host.content_facet_attributes.errata_counts.security === 0, red: host.content_facet_attributes.errata_counts.security > 0}" title="Security"></i>
when there is installable errata the yellow and red colors are shown as expected

Comment 3 Djebran Lezzoum 2017-08-23 06:59:52 UTC
Hi, Brad 

No this is not a blocker, but there is a css rule here not working for the black color, when the applicable is 0. there is no problem for the other colors when the applicable is more than 0.

Comment 4 Dan Seethaler 2017-08-23 15:36:27 UTC
Created redmine issue http://projects.theforeman.org/issues/20714 from this bug

Comment 5 Satellite Program 2017-08-24 18:11:51 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20714 has been resolved.

Comment 11 Bryan Kearney 2018-09-04 17:46:52 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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