140 views

Description

No results are returned from a Knowledge search when the Debug Text Search option is enabled.

Steps to Reproduce 

  1. Log in as an administrator.
  2. Navigate to Self-Service > Knowledge.
  3. Search for a common term (for example, email), that is expected to return results.
    Note the matching knowledge base articles that are displayed.
  4. Enable debugging by navigating to System Diagnostics > Session Debug > Debug Text Search.
  5. Repeat Steps 2 and 3.
    Note that no expected results are displayed. Your search did not return any results for the term. The instance session localhost log shows the following error:

SEVERE *** ERROR *** Contextual Search - Exception from SearchResource com.snc.knowledge3.search_resource.KnowledgeSearchResource
java.lang.NumberFormatException: java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
java.lang.Integer.parseInt(Integer.java:592)
java.lang.Integer.valueOf(Integer.java:766)
com.snc.knowledge3.search_resource.KnowledgeSearchResultImpl.fromGlideRecord(KnowledgeSearchResultImpl.java:61)
com.snc.knowledge3.search_resource.KnowledgeSearchResource.search(KnowledgeSearchResource.java:204)
com.snc.contextual_search.impl.service.SearchServiceImpl.search(SearchServiceImpl.java:316)
com.snc.contextual_search.transport.JSONSearchService.callService(JSONSearchService.java:19)
com.snc.application.json_service.transport.AbstractJSONService.process(AbstractJSONService.java:31)
com.glide.ui.ng.AngularProcessor.process(AngularProcessor.java:105)
com.glide.processors.Processor.runProcessor(Processor.java:399)
com.glide.processors.Processor.processTransaction(Processor.java:189)
com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:146)
com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:36)
com.glide.ui.GlideServlet$1.run(GlideServlet.java:414)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)

Workaround

This issue is under review. If you are able to upgrade, check the Fixed In field below to determine the versions that have a permanent fix.


Related Problem: PRB621502

Seen In

Fuji

Fixed In

Fuji Patch 1
Geneva
Helsinki

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-02-22 08:05:55
Published:2017-02-22