Bug 1889782

Summary: Missing closing quote when reporting the details of unindexed/paged search results
Product: Red Hat Enterprise Linux 8 Reporter: Simon Pichugin <spichugi>
Component: 389-ds-baseAssignee: Simon Pichugin <spichugi>
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: bsmejkal, jachapma, mreynolds, pasik, sgouvern, spichugi, tbordaz, vashirov
Target Milestone: rcKeywords: Triaged
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-devel-1.4-8040020201105165416.866effaa Doc Type: Bug Fix
Doc Text:
Cause: Doing an unindexed/paged search. Consequence: A closing quote is missing in access log details. Fix: Set the quote char pointer correctly. Result: The closing quote is properly displayed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:45:43 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:

Description Simon Pichugin 2020-10-20 14:42:05 UTC
Description of problem:
[29/Jul/2020:14:57:10.226812725 -0400] conn=30 op=21 RESULT err=0 tag=101 nentries=53 wtime=0.000055760 optime=0.029730103 etime=0.029783243 notes=U,P details="Partially Unindexed Filter,Paged Search pr_idx=0 pr_cookie=-1

The "details" keyword does not have a closing quote.

Version-Release number of selected component (if applicable):
389-ds-base-devel-1.4.3.12-1.fc32.x86

How reproducible:
Always

Steps to Reproduce:
1. Run a search with a simple paged result search.
2. Check access logs

Actual results:
'details' keyword doesn't have an ending quote.

Expected results:
'details' keyword should have an ending quote.

Comment 5 bsmejkal 2020-11-27 10:28:21 UTC
Build tested:
389-ds-base-1.4.3.16-3.module+el8.4.0+8869+55706461.x86_64

[26/Nov/2020:04:14:52.296304200 -0500] conn=1 op=1 RESULT err=0 tag=101 nentries=2 wtime=0.000398615 optime=0.002107818 etime=0.002502821 notes=U,P details="Partially Unindexed Filter,Paged Search" pr_idx=0 pr_cookie=0

'details' keyword has an ending quote. 
Marking as Verified:Tested.

Comment 9 sgouvern 2020-11-30 16:49:00 UTC
verified:tested (see comment 5) with build 389-ds-1.4-8040020201125182123.866effaa / 389-ds-base-libs-1.4.3.16-3.module+el8.4.0+8803+fd0f8fe3.x86_64
-> marking as VERIFIED

Comment 11 errata-xmlrpc 2021-05-18 15:45:43 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 (389-ds:1.4 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-2021:1835