RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2105294 - IdM WebUI Pagination Size should not allow empty value
Summary: IdM WebUI Pagination Size should not allow empty value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipa
Version: 9.1
Hardware: x86_64
OS: All
unspecified
low
Target Milestone: rc
: 9.1
Assignee: Armando Biagioni Neto
QA Contact: Michal Polovka
URL:
Whiteboard:
Depends On: 2094672
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-08 12:54 UTC by Florence Blanc-Renaud
Modified: 2022-11-15 10:32 UTC (History)
8 users (show)

Fixed In Version: ipa-4.10.0-3.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2094672
Environment:
Last Closed: 2022-11-15 10:00:11 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-8467 0 None None None 2022-07-08 12:58:59 UTC
Red Hat Issue Tracker RHELPLAN-127308 0 None None None 2022-07-08 12:59:20 UTC
Red Hat Product Errata RHBA-2022:7988 0 None None None 2022-11-15 10:00:23 UTC

Description Florence Blanc-Renaud 2022-07-08 12:54:32 UTC
+++ This bug was initially created as a clone of Bug #2094672 +++

Description of problem:

In below pop-up window:

WebUI -> User (Top Right Corner) -> Customization -> Pagination Size

Empty value should not be allowed.

Version-Release number of selected component (if applicable):
# rpm -qa | grep ipa | sort
ipa-client-4.9.8-7.module+el8.6.0+14337+19b76db2.x86_64
ipa-client-common-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch
ipa-common-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch
ipa-healthcheck-0.7-10.module+el8.6.0+14292+18b36d36.noarch
ipa-healthcheck-core-0.7-10.module+el8.6.0+14292+18b36d36.noarch
ipa-selinux-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch
ipa-server-4.9.8-7.module+el8.6.0+14337+19b76db2.x86_64
ipa-server-common-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch
ipa-server-dns-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch
ipa-server-trust-ad-4.9.8-7.module+el8.6.0+14337+19b76db2.x86_64
libipa_hbac-2.6.2-4.el8_6.x86_64
python3-iniparse-0.4-31.el8.noarch
python3-ipaclient-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch
python3-ipalib-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch
python3-ipaserver-4.9.8-7.module+el8.6.0+14337+19b76db2.noarch
python3-libipa_hbac-2.6.2-4.el8_6.x86_64
redhat-logos-ipa-84.5-1.el8.noarch
sssd-ipa-2.6.2-4.el8_6.x86_64


How reproducible:
100%

Actual results:
Empty value is accepted.

Expected results:
Empty value should not be allowed.

Additional info:


--- Additional comment from Armando Biagioni Neto on 2022-06-24 14:25:26 UTC ---

Upstream ticket:
https://pagure.io/freeipa/issue/9192

Comment 2 Florence Blanc-Renaud 2022-07-15 11:26:59 UTC
Note to QA: the fix also includes a test in ipatests/test_webui/test_misc_cases.py::TestMiscCases::test_customization_pagination_input_required

Comment 6 Mohammad Rizwan 2022-07-21 08:05:26 UTC
version:
ipa-server-4.10.0-3.el9.x86_64
ipa-server-common-4.10.0-3.el9.noarch
ipa-server-dns-4.10.0-3.el9.noarch


[..]
[GCC 8.5.0 20210514 (Red Hat 8.5.0-10)]
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.11.0, pluggy-1.0.0 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-372.19.1.el8_6.x86_64-x86_64-with-redhat-8.6-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'metadata': '1.11.0', 'html': '1.22.1', 'multihost': '3.0', 'sourceorder': '0.6.0'}}
rootdir: /usr/lib/python3.6/site-packages/ipatests, inifile:
plugins: metadata-1.11.0, html-1.22.1, multihost-3.0, sourceorder-0.6.0
collecting ... collected 2 items

test_webui/test_misc_cases.py::TestMiscCases::test_version_present PASSED [ 50%]
test_webui/test_misc_cases.py::TestMiscCases::test_customization_pagination_input_required PASSED [100%]

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
[..]

Automation passed, hence marking the bug as verified.

Comment 8 errata-xmlrpc 2022-11-15 10:00:11 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 (ipa bug fix and enhancement update), 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-2022:7988


Note You need to log in before you can comment on or make changes to this bug.