Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1452086
Description of problem: Pagination Size under Customization in IPA WebUI accepts negative value -1 Version-Release number of selected component (if applicable): ipa-server-4.5.0-9.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. Install IPA-Server 2. Login to web UI as admin | Navigate to Administrator on RHS corner. 3. Select Customization from the drop down. 4. In the Pagination size text box enter -1 as value. Actual results: 1. -1 value is accepted in the Pagination size text box and when save button is clicked, Working icon is shown which doesn't finish, with the url address switching back and forth as https://qe-blade-08.testrelm.test/ipa/ui/#/e/user/search//page=-1 https://qe-blade-08.testrelm.test/ipa/ui/#/e/user/search//page=1 2. Also the http error_log is being appended with the error message [root@qe-blade-08 ~]# du -sh /var/log/httpd/error_log 568K /var/log/httpd/error_log [root@qe-blade-08 ~]# du -sh /var/log/httpd/error_log 1.5M /var/log/httpd/error_log [Thu May 18 06:15:35.270547 2017] [:warn] [pid 6575] [client 10.76.33.216:39108] failed to set perms (3140) on file (/var/run/ipa/ccaches/admin@TESTRELM.TEST)!, referer: https://qe-blade-08.testrelm.test/ipa/ui/ [Thu May 18 06:15:35.321164 2017] [:error] [pid 6570] ipa: INFO: [jsonserver_session] admin@TESTRELM.TEST: user_find(u'', sizelimit=0, version=u'2.224', pkey_only=True): SUCCESS [Thu May 18 06:15:35.572341 2017] [:warn] [pid 6575] [client 10.76.33.216:39108] failed to set perms (3140) on file (/var/run/ipa/ccaches/admin@TESTRELM.TEST)!, referer: https://qe-blade-08.testrelm.test/ipa/ui/ [Thu May 18 06:15:35.627594 2017] [:error] [pid 6571] ipa: INFO: [jsonserver_session] admin@TESTRELM.TEST: user_find(u'', sizelimit=0, version=u'2.224', pkey_only=True): SUCCESS [Thu May 18 06:15:35.880066 2017] [:warn] [pid 6575] [client 10.76.33.216:39108] failed to set perms (3140) on file (/var/run/ipa/ccaches/admin@TESTRELM.TEST)!, referer: https://qe-blade-08.testrelm.test/ipa/ui/ 3. All the tabs in the UI is affected, i.e data is not displayed, which is correct behaviour since no positive value is specified, once a positive value is given the entries are displayed. Expected results: Pagination size should not accept negative values which is causing issues with IPA Web UI. Additional info:
Metadata Update from @pvoborni: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1452086
Metadata Update from @pvoborni: - Issue set to the milestone: FreeIPA 4.6
Metadata Update from @pvoborni: - Issue tagged with: bug, webui
Metadata Update from @pvomacka: - Issue assigned to pvomacka
Metadata Update from @pvomacka: - Assignee reset - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/911
master:
Metadata Update from @mbabinsk: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-5:
Metadata Update from @frenaud: - Issue set to the milestone: FreeIPA 4.5.5 (was: FreeIPA 4.6)
Moving milestone to FreeIPA 4.5.5 as there was a backport to ipa-4-5 branch
Log in to comment on this ticket.