My Oracle Support Banner

Quick Searches Fail Because the Custom Quick Searches Are Encoded After Clicking Save (Doc ID 2449621.1)

Last updated on DECEMBER 18, 2023

Applies to:

Oracle WebCenter Content - Version 12.2.1.2.0 to 12.2.1.3.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

Custom quick searches are encoded after clicking Save.  As a result, the query text becomes invalid and query parsing errors occur.  This can be replicated by performing the following steps:

 

1. Navigate to My Content Server -> My Quick Searches

 

2. Click Create New under "Quick Searches defined by admins".  Select Search Forms -> Query Builder Form

 

3. Enter key and label

For example,

Key:  y

Label: yyyy

 

4. In the "Query Builder" section, select Title <contains> test

 

 

5. Click on the "show query builder advanced options".  Then, check the Modify Query Text.

 

6. Replace text with the following:

<usch>dDocTitle <substring> `#s`</usch>

 

 

7. Click Save.  When the Quick Searches is displayed, the "<" and ">" in the search query text is encoded with "&lt;" and "&gt;" as shown below.

8. As a result, the quick searches fail.  The following is example of selecting the new yyyy quick search and searching for the string "test".

 

After clicking search button to the right, the following "query text is invalid" exception is returned.

 

9. The logs show a parsing error for the search query text.

 

Changes

Applied either of the following patches:

  1. One-off patch 26596903 on top of WCC 12.2.1.2 Bundle Patch 171211 (MOS Patch 27116621)
  2. WCC 12.2.1.2 BP 180717 (MOS Patch 27918773)
  3. WCC 12.2.1.3 BP 180717 (MOS Patch 27918777)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.