Bug 1136526

Summary: The list of packages that you can install on a system contains duplicates
Product: [Community] Spacewalk Reporter: Stephen Herr <sherr>
Component: ServerAssignee: Stephen Herr <sherr>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.2CC: chalal, cperry, michael.ward
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1138709 (view as bug list) Environment:
Last Closed: 2015-04-14 19:03:14 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: 1207293    

Description Stephen Herr 2014-09-02 18:47:56 UTC
Description of problem:
Systems -> <system> -> Software -> Packages -> Install page lists many duplicate entries for packages. A duplicate entry is created for every version of the package, regardless of if that version is available in channels this system is subscribed to or not. So you can have only 1 version available to this system but 19 other versions in other channels, and there will be 20 entries in the list to the same 1 package that is actually available.

Version-Release number of selected component (if applicable):
spacewalk-java-2.2.52-1 and higher

How reproducible:
always

Steps to Reproduce:
1. Go to page
2. See many duplicate packages 

Actual results:
See many duplicate packages 

Expected results:
Entries should be unique and all entries should be actually available to server.

Additional info:
It was broken in commit f5e644f6d0f5c194081073fd6a850918f393dea9

Comment 1 Stephen Herr 2014-09-02 19:43:54 UTC
Committing to Spacewalk master:
b9a0468e8e51b0b99ac84192ad8ba5daca8895eb

Comment 2 Grant Gainey 2015-03-23 16:59:06 UTC
Moving bugs to ON_QA as we move to release Spacewalk 2.3

Comment 3 Grant Gainey 2015-04-14 19:03:14 UTC
Spacewalk 2.3 has been released. See

https://fedorahosted.org/spacewalk/wiki/ReleaseNotes23