Bug 1713366
Summary: | IPA Web UI - Pagination is not working for the "Automount Maps" page. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Têko Mihinto <tmihinto> | ||||
Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> | ||||
Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 8.0 | CC: | ksiddiqu, myusuf, pvoborni, rcritten, stsymbal, tscherf, twoerner | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | ipa-4.8.0-1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-11-05 20:53:20 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: | |||||||
Attachments: |
|
Upstream ticket: https://pagure.io/freeipa/issue/6627 RHEL-7.7 is already near the end of a Development Phase and development is being wrapped up. I am bulk-moving to RHEL 8 the Bugs which were already triaged, but to which we did not commit (without devel_ack) and we cannot keep them even as a stretch goal for RHEL-7.7. If you believe this particular bug should be reconsidered for 7.7, please let us know. Fixed upstream master: https://pagure.io/freeipa/c/dd7198acec797342a6ef0bed6573d8963164a77b ipa-4-7: https://pagure.io/freeipa/c/dbd0788b94bb4345f495255dbf1cf1a872467066 ipa-4-6: https://pagure.io/freeipa/c/99926d979d576489cfb931eb9a774ac842122af1 version:
ipa-server-4.8.0-6.module+el8.1.0+3869+84a20141.x86_64
steps:
1. Create an automount location:
# ipa automountlocation-add test
----------------------------------
Added automount location "test"
----------------------------------
Location: test
#
2. Add more automount maps than the pagination size ( can be configured by a click on the connected user and then "Customization" ).
For my tests, the pagination size is set to 10 and more than 1000 maps are created:
# export N=0
# while [ $N -lt 1000 ]
> do
> ipa automountmap-add test test_map_$N > /dev/null 2>&1
> N=`expr $N + 1`
> echo $N
> done
1
2
...
999
1000
#
3. Connect to the Web UI and access to the Network Services / Automount page.
All data will be listed on each page of the pagination.
Actual results:
Number of listed items are inline with the configured pagination setting.
Expected results:
The number of listed items should be limited by the configured pagination size.
Based on above observation, marking the bug as verified.
Created attachment 1604289 [details]
autommou_map.jpg
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 |
Description of problem: The pagination is not working for data created in the Network Services / Automount page. Version-Release number of selected component (if applicable): # rpm -qa | grep ^ipa ipa-common-4.6.4-10.el7_6.3.noarch ipa-client-common-4.6.4-10.el7_6.3.noarch ipa-server-4.6.4-10.el7_6.3.x86_64 ipa-server-common-4.6.4-10.el7_6.3.noarch ipa-client-4.6.4-10.el7_6.3.x86_64 ipa-server-dns-4.6.4-10.el7_6.3.noarch # # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.6 (Maipo) # How reproducible: Always. Steps to Reproduce: 1. Create an automount location: # ipa automountlocation-add test ---------------------------------- Added automount location "test" ---------------------------------- Location: test # 2. Add more automount maps than the pagination size ( can be configured by a click on the connected user and then "Customization" ). For my tests, the pagination size is set to 10 and more than 1000 maps are created: # export N=0 # while [ $N -lt 1000 ] > do > ipa automountmap-add test test_map_$N > /dev/null 2>&1 > N=`expr $N + 1` > echo $N > done 1 2 ... 999 1000 # 3. Connect to the Web UI and access to the Network Services / Automount page. All data will be listed on each page of the pagination. Actual results: All items are listed on each and every page. Expected results: The number of listed items should be limited by the configured pagination size. Additional info: