Bug 2094672
| Summary: | IdM WebUI Pagination Size should not allow empty value | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Sunny Wu <suwu> | ||||||
| Component: | ipa | Assignee: | Armando Biagioni Neto <abiagion> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Michal Polovka <mpolovka> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 8.6 | CC: | abiagion, frenaud, ftrivino, myusuf, rcritten, rjeffman, tscherf | ||||||
| Target Milestone: | rc | Keywords: | Triaged | ||||||
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
||||||
| Hardware: | x86_64 | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | ipa-4.9.10-5.module+el8.7.0+16195+c459c321 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 2105294 (view as bug list) | Environment: | |||||||
| Last Closed: | 2022-11-08 09:36:24 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: | 2105294 | ||||||||
| Attachments: |
|
||||||||
Created attachment 1887869 [details]
WebUI-2
Upstream ticket: https://pagure.io/freeipa/issue/9192 Upstream PR: https://github.com/freeipa/freeipa/pull/6357 (merged) Fixed upstream master: https://pagure.io/freeipa/c/436c9d85eea9d970390da00813239c4f9d91f598 ipa-4-9: https://pagure.io/freeipa/c/991849cf58fa990ad4540a61214b5ab4fcd4baa1 ipa-4-10: https://pagure.io/freeipa/c/02d3fb8266d8199fd1ed983de6c57b269546df82 Note to QA: the fix also includes a test in ipatests/test_webui/test_misc_cases.py::TestMiscCases::test_customization_pagination_input_required 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.
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 |
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: