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

Bug 1787585

Summary: Metrics table rows pagination contains off by one bug [openshift-4.2]
Product: OpenShift Container Platform Reporter: Robb Hamilton <rhamilto>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aos-bugs, bpeterse, hasha, jokerman, yapei
Target Milestone: ---Flags: rhamilto: needinfo-
Target Release: 4.2.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-02-24 16:52:45 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: 1790750    
Bug Blocks:    

Description Robb Hamilton 2020-01-03 14:28:28 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 bpeterse 2020-01-27 20:31:28 UTC
Possible to provide additional information?  Example query or screenshot?

Comment 4 shahan 2020-02-07 09:26:15 UTC
1.  Visit monitoring/query-browser and create a query that returns more than 10 rows.
2.  Set the pagination count to 10.
The result num of first page is 10.
4.2.0-0.nightly-2020-02-07-073616

Comment 6 errata-xmlrpc 2020-02-24 16:52:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0460