Non-Faceted Search Taskflow Does Not Retain the Search Parameter. On Search Results, Clicking on NEXT Page, the Parameter Defaults to %

(Doc ID 1986584.1)

Last updated on NOVEMBER 19, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.5 and later
Information in this document applies to any platform.

Symptoms

On a page with the "Non-Faceted Search" Search Flow Taskflow, the search works fine when the search keyword is entered in the task flow directly. After the results are returned, clicking on Next link, will display the next page and also retain the search keyword.

 If the search keyword is passed from the URL, the search works fine for the first page. Clicking Next link on the results page, will display the next page BUT :

   - the search keyword becomes % or blank.

   - the results are not correct because the search keyword changed.

 

First page:

After Click in Next Link:

 

The issue can be reproduce using the following steps:

1. Create a Portal  e.g. myportal.

2. Create a new page with name CustomSearch.

3.  In myPortal Administration, Assets, create a copy of default page catalog (mycatalog) and add the  "Search Non-Faceted Search"  taskflow.

4. Make the mycatalog the default  for myPortal under under Administration, Settings.

5. Edit CustomSearch page and drop the search taskflow "Search Non-Faceted Search" on to this page.

6. Set the taskflow parameters as following
      Resource ID = #{param.resourceId}
      Resource Type = searchKeywords

7. View the page and get the url e.g.
           e.g.   http://tools5.au.oracle.com:8888/webcenter/portal/Portal1/page1


8. Change the URL :
      http://tools5.au.oracle.com:8888/webcenter/portal/Portal1/page1?resourceId=test

    Ensure you have some documents/portal/etc with the keyword "test"  and multiple pages are return ( next link is shown)

9. Click on Next.

     Notice the results are not consistent and the keyword has changed.

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms