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

Bug 1787588

Summary: Metrics table rows pagination contains off by one bug
Product: OpenShift Container Platform Reporter: Robb Hamilton <rhamilto>
Component: Management ConsoleAssignee: bpeterse
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: aos-bugs, bpeterse, jokerman, yapei
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1787583 Environment:
Version: 4.4.0-0.ci-2020-01-02-094552 Cluster ID: bf5bdb08-68bf-4174-804d-bd3a5e0a76d4 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Last Closed: 2020-01-22 19:06:51 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: 1787583, 1790750    
Bug Blocks:    

Description Robb Hamilton 2020-01-03 14:33:29 UTC
+++ This bug was initially created as a clone of Bug #1787583 +++

Description of problem: The pagination of the monitoring/query-browser table rows includes a bug where the number of rows displayed is off by one.


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


How reproducible:  Always


Steps to Reproduce:
1.  Visit monitoring/query-browser and create a query that returns more than 10 rows.
2.  Set the pagination count to 10.
3.  Note the number of rows displayed is 9, not 10.

Actual results:  The number of rows displayed is 1 less than the pagination count when the number of rows is greater than the pagination count.


Expected results:  The number of rows displayed should equal the pagination count when the number of rows is greater than the pagination count.

Comment 1 Robb Hamilton 2020-01-22 19:06:51 UTC

*** This bug has been marked as a duplicate of bug 1790750 ***