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 2094672 - 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 8
Classification: Red Hat
Component: ipa
Version: 8.6
Hardware: x86_64
OS: All
unspecified
low
Target Milestone: rc
: ---
Assignee: Armando Biagioni Neto
QA Contact: Michal Polovka
URL:
Whiteboard:
Depends On:
Blocks: 2105294
TreeView+ depends on / blocked
 
Reported: 2022-06-08 07:19 UTC by Sunny Wu
Modified: 2022-11-08 10:26 UTC (History)
7 users (show)

Fixed In Version: ipa-4.9.10-5.module+el8.7.0+16195+c459c321
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2105294 (view as bug list)
Environment:
Last Closed: 2022-11-08 09:36:24 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
WebUI (66.09 KB, image/png)
2022-06-08 07:19 UTC, Sunny Wu
no flags Details
WebUI-2 (49.66 KB, image/png)
2022-06-08 07:20 UTC, Sunny Wu
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure freeipa issue 9192 0 None None None 2022-06-24 14:25:28 UTC
Red Hat Issue Tracker FREEIPA-8335 0 None None None 2022-06-08 07:28:55 UTC
Red Hat Issue Tracker RHELPLAN-124613 0 None None None 2022-06-08 07:28:59 UTC
Red Hat Product Errata RHBA-2022:7540 0 None None None 2022-11-08 09:36:44 UTC

Description Sunny Wu 2022-06-08 07:19:23 UTC
Created attachment 1887868 [details]
WebUI

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:

Comment 1 Sunny Wu 2022-06-08 07:20:04 UTC
Created attachment 1887869 [details]
WebUI-2

Comment 3 Armando Biagioni Neto 2022-06-24 14:25:26 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/9192

Comment 8 Florence Blanc-Renaud 2022-07-15 11:27:27 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 14 Mohammad Rizwan 2022-08-05 10:51:46 UTC
version:
ipa-server-4.9.10-5.module+el8.7.0+16195+c459c321.x86_64
ipa-server-common-4.9.10-5.module+el8.7.0+16195+c459c321.noarch
ipa-server-dns-4.9.10-5.module+el8.7.0+16195+c459c321.noarch
ipa-server-trust-ad-4.9.10-5.module+el8.7.0+16195+c459c321.x86_64

============================= 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 -----------
=============================== warnings summary ===============================
test_webui/test_misc_cases.py::TestMiscCases::()::test_version_present
  /usr/lib/python3.6/site-packages/ipatests/test_webui/ui_driver.py:272: DeprecationWarning: use service_log_path instead of log_path
    driver = webdriver.Firefox(fp, log_path=ff_log_path)

test_webui/test_misc_cases.py::TestMiscCases::()::test_customization_pagination_input_required
  /usr/lib/python3.6/site-packages/ipatests/test_webui/ui_driver.py:272: DeprecationWarning: use service_log_path instead of log_path
    driver = webdriver.Firefox(fp, log_path=ff_log_path)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
==================== 2 passed, 2 warnings in 32.25 seconds =====================


Automaton passed, hence marking the bug as verified.

Comment 16 errata-xmlrpc 2022-11-08 09:36:24 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 (idm:client and idm:DL1 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:7540


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