Bug 769286

Summary: Distro list: item count is wrong, paging is broken, wrong distros selected
Product: [Retired] Beaker Reporter: Marian Csontos <mcsontos>
Component: web UIAssignee: Raymond Mancy <rmancy>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.8CC: bpeck, dcallagh, ebaak, jpazdziora, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 832523 (view as bug list) Environment:
Last Closed: 2012-03-15 00:16:09 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: 769531, 769579    
Bug Blocks: 832523    

Description Marian Csontos 2011-12-20 13:00:04 UTC
Description of problem:
Inconsistencies in Distros page when using filters.

Version-Release number of selected component (if applicable):
0.8

How reproducible:
100% here

Steps to Reproduce:
1. Go to: https://beaker.engineering.redhat.com/distros/?Search=Search&distrosearch-2.operation=is&distrosearch-2.table=Tag&distrosearch-0.table=OSMajor&list_tgp_no=1&distrosearch-0.operation=contains&distrosearch-1.value=x86_64&list_tgp_limit=50&distrosearch-2.value=RELEASED&distrosearch-1.operation=contains&list_tgp_ordering=-date_created&distrosearch-1.table=Arch&distrosearch--repetitions=3&distrosearch-0.value=Linux6
2. Try Next ('>'), Prev ('<') links
  
Actual results:
Seeing "Items found: 257" but there are only 6 pages with displaying randomly 6, 7 or 20+ distros each.

Expected results:
1. Count should match records in WebUI (and CLI)
2. Consistent number of records on each page
(Not talking about inability to actually find a single distro which is really "RELEASED" like RHEL6.2GA.)

Additional info:
Also bkr does not suffer from the issue and lists only really RELEASED distros:

    bkr distros-list --tag=RELEASED --family=RedHatEnterpriseLinux6 --arch=x86_64 --limit=200 > bkr-distros.out

Comment 1 Bill Peck 2012-01-23 16:29:00 UTC
Status?