Bug 1551495

Summary: IPA webgui incorrectly display number of entries in ID views
Product: Red Hat Enterprise Linux 8 Reporter: Ming Davies <minyu>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: hkhot, ksiddiqu, pasik, pvoborni, rcritten, stsymbal, tscherf, twoerner
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.8.0-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1733265 (view as bug list) Environment:
Last Closed: 2019-11-05 20:52:26 UTC Type: Bug
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: 1733265    

Description Ming Davies 2018-03-05 09:57:05 UTC
Description of problem:
When browsing to ID Views in the IPA web gui, the number of entries is incorrectly displayed if there are more than 20entries.


Version-Release number of selected component (if applicable):
ipa-server-4.5.0-22.el7_4.x86_64

How reproducible:
The issue can be easily reproduced


Steps to Reproduce:
1. Create a test view called "mytest view"
# ipa idview-show "mytest view"
  ID View Name: mytest view
  User object overrides: agoodwin, bgoodwin, cgoodwin, dgoodwin, fgoodwin, egoodwin, ggoodwin, hgoodwin, igoodwin,jgoodwin, kgoodwin, lgoodwin, mgoodwin, ngoodwin, ogoodwin, pgoodwin, qgoodwin, rgoodwin,sgoodwin, tgoodwin, ugoodwin, vgoodwin, wgoodwin, xgoodwin, ygoodwin, zgoodwin

2. When browsing to ID Views-->>> mytest view, there are two pages showing. The first page says:"Showing 1 to 20 of 26 entries" and the second page says:"Showing 21 to 26 of 26 entries", but despite the messages, all 26 entries are showing on both pages!

Actual results:


Expected results:


Additional info:

Comment 2 fbarreto 2018-03-05 21:47:00 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/7429

Comment 11 Kaleem 2019-09-05 08:32:48 UTC
Verified.

IPA version:
============
[root@master ~]# rpm -q ipa-server
ipa-server-4.8.0-10.module+el8.1.0+4098+f286395e.x86_64
[root@master ~]# 

Please find the attached screen shot of IPA web ui.

Comment 15 errata-xmlrpc 2019-11-05 20:52:26 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-2019:3348