Bug 680372 - Package filters on RHEL Channels doesn't work as expected
Summary: Package filters on RHEL Channels doesn't work as expected
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Web Site
Version: rhn602
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Jonathon Turel
QA Contact: Red Hat Network Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-25 10:17 UTC by Paresh Mutha
Modified: 2018-11-26 19:23 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-20 09:21:20 UTC


Attachments (Terms of Use)

Description Paresh Mutha 2011-02-25 10:17:44 UTC
Description of problem:
Under a channel, if we try to filter first by any of the alphabets and then enter a string under "Filter by package" then it returns incomplete list of packages based on the entered filter string.

Example: If we go to a base channel -> packages -> click on "R" which would list all packages starting with R, then enter "ruby" in Filter by packages. This should return all packages starting with ruby as a string.

Version-Release number of selected component (if applicable):
RHN Hosted 5.2.6

How reproducible:
Always

Steps to Reproduce:
1] Login to RHN -> Channel -> Open any of the RHEL Base Channel -> Packages
This bring us to url "https://rhn.redhat.com/rhn/channels/PackageList.do?cid=10401"

2] Click on "c" near filter which will sort pacakges starting with c.
Url is "https://rhn.redhat.com/rhn/channels/PackageList.do?lower=240&cid=10401"

3] Now enter cups in the filter by package box and click on "Go"
url here is "https://rhn.redhat.com/rhn/channels/PackageListSubmit.do?cid=10401"

Actual Result:
Just one package gutenprint.
Example:
Package					Summary
gutenprint-cups-5.2.5-2.el6.i686 	CUPS drivers for Canon, Epson, HP and compatible printers 

Expected Result:
Complete list of packages filtered by cups.

Example:
Package				Summary
cups-1.4.2-35.el6:1.i686 	Common Unix Printing System
cups-1.4.2-35.el6_0.1:1.i686 	Common Unix Printing System
cups-devel-1.4.2-35.el6:1.i686 	Common Unix Printing System - development environment 
(...and so on...)

Additional info:
It seems that if we click on the alphabet and then enter a string to filter the results then it filters down the list based on Summary and not the package name.
In the example mentioned in Steps to Reproduce, you can see that only cups-devel-1.4.2-35.el6:1.i686 has cups as a string in its summary. And other packages don't have CUPS in its summary. So likely the filtering is done based on Summary and not on package name.

Comment 1 Paresh Mutha 2011-02-25 10:21:35 UTC
Additionally I would like to mention that, if you don't click on any of those alphabets, but directly enter the string (example: cups) then it filters out the packages correctly and returns the list of packages as expected.

Problem is seen only when we first click on an alphabet and then enter the string to filter the packages.


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