Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 654996

Summary: Activation Key -> Packages tab doesn't list packages in sorted order
Product: Red Hat Satellite 5 Reporter: Vishal Gaikwad <vgaikwad>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED ERRATA QA Contact: Dimitar Yordanov <dyordano>
Severity: medium Docs Contact:
Priority: urgent    
Version: 530CC: cperry, dyordano, pmutha, xdmoon
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When associating packages with an activation key, the previous version of the web user interface listed the packages in random order. This update adapts the web user interface to list the packages in alphabetical order.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-05 07:07:36 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:
Bug Depends On:    
Bug Blocks: 715348    

Description Vishal Gaikwad 2010-11-19 10:08:40 UTC
Description of problem:
In satellite 5.3 the Page for the Packages on the Activation key has only 9 Lines. So you have much scrolling work on the page. And the second Problem is, that the page isn't sorted anymore. 

Version-Release number of selected component (if applicable):
Red Hat Network Satellite 5.3.0

How reproducible:
Always

Steps to Reproduce:
1. Create a activation key
2. Click Packages
3. Enter package names
4. Click 'Update Key'
  
Actual results:
Package names are not sorted (alphabetically)

Expected results:
Package names should be sorted

Additional info:
Older releases didnt show this behaviour.

Comment 7 Tomas Lestach 2011-08-16 12:53:57 UTC
Fixed. Sorting package names according to alphabetic order.

spacewalk.git: 5303c4e85ce4f0f5e17efdaf313a7934d325ab0f

Comment 10 Tomas Lestach 2011-08-16 13:58:01 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Consequence:
When associating packages with an activation key, package list was sorted in unpredictable way.
Result:
Package list in sorted in alphabetical order, when associating packages to an activation key on WebUI.

Comment 11 Dimitar Yordanov 2011-08-26 08:17:20 UTC
Verified RHEL5/6

Comment 12 Jaromir Hradilek 2011-08-31 13:15:58 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,4 +1 @@
-Consequence:
+When associating packages with an activation key, the previous version of the web user interface listed the packages in random order. This update adapts the web user interface to list the packages in alphabetical order.-When associating packages with an activation key, package list was sorted in unpredictable way.
-Result:
-Package list in sorted in alphabetical order, when associating packages to an activation key on WebUI.

Comment 13 errata-xmlrpc 2011-09-05 07:07:36 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-1252.html