Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1187704

Summary: Content Dashboard - Errata overview shows duplicate errata entries
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: WebUIAssignee: Walden Raines <walden>
WebUI sub component: Katello QA Contact: sthirugn <sthirugn>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: jmontleo, sthirugn
Version: Nightly   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9783
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:23:05 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:
Bug Depends On:    
Bug Blocks: 1130651, 1188301    
Attachments:
Description Flags
Errata overview duplicates none

Description sthirugn@redhat.com 2015-01-30 17:37:31 UTC
Created attachment 986095 [details]
Errata overview duplicates

Description of problem:
Content Dashboard - Errata overview shows duplicate errata entries

Version-Release number of selected component (if applicable):
* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.38-1.el6.noarch
* candlepin-common-1.0.18-1.el6.noarch
* candlepin-selinux-0.9.38-1.el6.noarch
* candlepin-tomcat6-0.9.38-1.el6.noarch
* elasticsearch-0.90.10-7.el6.noarch
* foreman-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-compute-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-gce-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-libvirt-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-ovirt-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-postgresql-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-proxy-1.8.0-0.develop.201501280951gite1bc928.el6.noarch
* foreman-release-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* foreman-selinux-1.8.0-0.develop.201412151103gite2863e4.el6.noarch
* foreman-vmware-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
* katello-2.1.0-1.201411061509gitb0b8f43.el6.noarch
* katello-certs-tools-2.0.1-1.el6.noarch
* katello-default-ca-1.0-1.noarch
* katello-installer-2.2.0-1.201501272021gitf707d62.el6.noarch
* katello-installer-base-2.2.0-1.201501272021gitf707d62.el6.noarch
* katello-repos-2.1.1-1.el6.noarch
* katello-server-ca-1.0-1.noarch
* openldap-2.4.39-8.el6.x86_64
* openldap-devel-2.4.39-8.el6.x86_64
* pulp-docker-plugins-0.2.1-0.2.beta.el6.noarch
* pulp-katello-0.3-3.el6.noarch
* pulp-nodes-common-2.5.1-1.el6.noarch
* pulp-nodes-parent-2.5.1-1.el6.noarch
* pulp-puppet-plugins-2.5.1-1.el6.noarch
* pulp-puppet-tools-2.5.1-1.el6.noarch
* pulp-rpm-plugins-2.5.1-1.el6.noarch
* pulp-selinux-2.5.1-1.el6.noarch
* pulp-server-2.5.1-1.el6.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-ldap_fluff-0.3.3-1.el6.noarch
* ruby193-rubygem-net-ldap-0.10.0-1.el6.noarch
* ruby193-rubygem-runcible-1.3.0-1.el6.noarch


How reproducible:
Always

Steps to Reproduce:
1. Install satellite, create a product (make sure it has errata) and sync it.  Also register few content-hosts
2. Navigate to Monitor -> Content Dashboard

Actual results:
Errata Overview widget shows duplicate errata entries (see screenshot)

Expected results:
Errata overview widget should not have duplicate errata entries

Additional info:

Comment 3 Walden Raines 2015-02-23 22:36:39 UTC
Moving to ON_QA after discussion with Suresh.

Comment 4 sthirugn@redhat.com 2015-03-03 21:42:07 UTC
Failed in Satellite-6.1.0-RHEL-6-20150224.0  See latest screenshot

1. I still see duplicates
2. Also note the type icons are missing now

Comment 6 Walden Raines 2015-03-13 15:34:53 UTC
Moving bugs I'm not currently working on back to NEW

Comment 7 Walden Raines 2015-03-16 13:19:39 UTC
Created redmine issue http://projects.theforeman.org/issues/9783 from this bug

Comment 8 Walden Raines 2015-03-16 13:44:45 UTC
PR: https://github.com/Katello/katello/pull/5111

Comment 9 Walden Raines 2015-03-17 16:42:16 UTC
Not sure why the script didn't move this to POST:

commit eebc8c074d3c5c3e375445732444ad429c6fefe4
Merge: ba79f98 58ef413
Author: Walden Raines <walden>
Date:   Mon Mar 16 14:59:08 2015 -0400

    Merge pull request #5111 from waldenraines/9783
    
    Fixes #978:  ensure errata on dashboard are unique, BZ 1187704.

commit 58ef41391f26f56a62dca14ee28bf3b97ca136bc
Author: Walden Raines <walden>
Date:   Mon Mar 16 09:20:35 2015 -0400

    Fixes #9783:  ensure errata on dashboard are unique, BZ 1187704.
    
    http://projects.theforeman.org/issues/9783
    https://bugzilla.redhat.com/show_bug.cgi?id=1187704

Comment 12 sthirugn@redhat.com 2015-03-23 18:15:31 UTC
Verified. No duplicate entries seen now.

Satellite-6.1.0-RHEL-6-20150317.0

Comment 13 Bryan Kearney 2015-08-11 13:30:13 UTC
This bug is slated to be released with Satellite 6.1.

Comment 14 errata-xmlrpc 2015-08-12 05:23:05 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, 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-2015:1592