Notifications

291 views

Description

When trying to search a term that contains the "&" character, using the global search in the ess portal (which uses the search_content.do), returns no results.

Searching for the same term using the global search on the platform (which uses the textsearch.do) finds results.

Steps to Reproduce

  1. Navigate to Knowledge > Create New.
  2. Create a new KB article.
  3. In Short Description type AT&T.
  4. Save the article.
  5. In the global search of the navigation page, search for the term AT&T.
    The article you created appears in the search results.
  6. Open the ESS portal.
  7. In the global search, search for AT&T.
    Note that the record is not found and the text is cut to AT.

Workaround

  1. Edit the ContentSearch Processor by navigating to:

    https://<your_instance_name>.service-now.com/nav_to.do?uri=sys_processor.do?sys_id=b1627a1e0a0a0b12004617aa01ea9392

  2. Change the line:

    g_response.sendRedirect(pl + '?sysparm_search=' + g_request.getParameter('sysparm_search'));

    to:

    g_response.sendRedirect(pl + '?sysparm_search=' + GlideStringUtil.urlEncode(g_request.getParameter('sysparm_search')));

  3. Click Save.
  4. Log out of the current session.
  5. Close the current browser.

Note: Ensure that you revert to the base system version of the ContentSearch Processor before upgrading the instance.


Related Problem: PRB619544

Seen In

Calgary Patch 5
Eureka Patch 10
Eureka Patch 3 Hot Fix 1
Geneva Patch 6 Hot Fix 2
Geneva Patch 7

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-10-13 22:13:48
Published:2016-08-02