Red Hat Bugzilla – Bug 1372052
Unable to search certificate requests using the latest request ID
Last modified: 2017-08-01 18:46:01 EDT
The List Requests page in the CA UI for agents is supposed to show the list of requests given the starting request number. However, if the starting request number is set to the latest request ID, the page will return no results. Steps to reproduce: 1. Install CA as usual. 2. Initialize PKI client: pki -c Secret123 client-init 3. Request a certificate: pki -c Secret123 client-cert-request uid=testuser 4. Go to CA UI for agents and open the List Requests page. 5. Enter the request ID obtained from step #3 as the starting request number, then click Find. Actual result: The page says No Matching Request Records Found. Expected result: The page should show the normal list of requests showing just the latest request. Note: If a smaller request number is entered in step #5, the page will show the normal list of requests.
Per PKI Bug Council of 08/31/2016: * Consider this bug for a RHEL 7.3 Batch 1 Update Candidate
please provide RHEL 7.3.Z ZStream flag and justification
(In reply to Matthew Harmsen from comment #2) > please provide RHEL 7.3.Z ZStream flag and justification This issue is being encountered by Booz-Allen Hamilton. They are hoping for a fix as a z-stream update since it affects their operations. This does seem like something we should address before RHEL 7.4.
Fixed in master: * 755fb2834d22131628ad1929c1bd4b1cd7592203 Fixed in DOGTAG_10_3_BRANCH: * 196ae21e55a3210ef9db1ad6b8c84d64d4d1959e
Testing Environment: ------------------- rpm -qa pki-ca pki-ca-10.3.3-17.el7_3.noarch Test Steps: --------- 1. Generate one certificate request from either cli or EE page. Here my request id's are "7","8","9". 2. Import the right cert used to login into CA Agent page. 3. Goto list requests. 4. Set Request type "show enrollment request" 5. Set request Status "show Pending Request" Test Cases: ---------- 1. Set Stating request number as "7". Expected:It should show all 7 and above. Actual: It shows 7,8,9 in CA Agent page. 2. Set starting request number as "8" Expected:It should show all 8 and above. Actual:It shows 8,9 in CA Agent page 3. set Starting request number as "9" Expected: it should only show 9 Actual:it only shows 9 in CA Agent Page 4. Set Starting request number as "20" which doesn't exist. Expected: No records match should come. Actual: CA Agent page shows last pending request in queue i.e 9. This is not expected.Putting BZ in needinfo
Could you please have a look on my test case 4 : 4. Set Starting request number as "20" which doesn't exist. Expected: No records match should come. Actual: CA Agent page shows last pending request in queue i.e 9. This is not expected.Putting BZ in needinfo
I responded to this question in bug #1417064. I believe the behavior shown in test case #4 (showing too many results) is an existing issue, not a regression. The changes in comment #3 fixed test case #3 (showing no results) which was the primary issue reported in this bug. Test cases #1 and #2 have always been working correctly. Geetika already opened a new ticket for test case #4: https://bugzilla.redhat.com/show_bug.cgi?id=1422799
performed test cases as mentioned in comment #6. All worked as expected with an exception for which BZ https://bugzilla.redhat.com/show_bug.cgi?id=1422799 is raised. Test builds: rpm -qa pki-ca pki-ca-10.4.1-2.el7.noarch
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-2017:2110