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 to [Release 12c]
Information in this document applies to any platform.


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.



Applied either of the following patches:

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


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

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