Search Does Not Work When WebCenter Spaces Language Set to Turkish (Doc ID 1052852.1)

Last updated on JUNE 30, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 and later
Information in this document applies to any platform.
***Checked for relevance on 02-Jul-2013***

Symptoms

Search does not work well in WebCenter Spaces when the browser's accept language is set to Turkish. The initial search runs fine, but then clicking on any of the items or the More button displays the following error page:

Hatayla Karşılaşıldı..
Sorunu gidermemize yardımcı olması için bu dahili hatayı kaydettik. Yöneticiye başvurmak veya bir süre sonra tekrar denemek isteyebilirsiniz.

Giriş sayfasına gitmek için buraya tıklayın

The same does not cause any problem when testing with other languages (i.e. English, Dutch, Hungarian).

The problem seems to be caused by displaying I (capital i) characters in the browser's location when the error page somes. This is the URL seen when the problem occurs:


http://<spaces_host>:<spaces_port>/webcenter/faces/oracle/webcenter/webcenterapp/view/pages/shared/GlobalSearchViewer.jspx?wc.taskFlowId=search-view&resourceId=test&wc.taskFlowPath=%2Foracle%2Fwebcenter%2Fsearch%2Fcontroller%2Ftaskflows%2FsearchResults.xml&_adf.ctrl-state=q02gszd09_4&resourceType=searchKeywords

See the I: taskFlowId and resourceId

The same problem occurs when trying to view a group space in Turkish that has a capital I in its name, for example "IJK". In that case the URL is the following:


http://vasas.hu.oracle.com:8885/webcenter/faces/oracle/webcenter/page/scopedMD/s88a223cf_7e41_4286_8e49_14522a7a70c9/Home.jspx?wc.contextURL=%2Fspaces%2FIJK&wc.contextURL=%2Fspaces%2FIJK&_adf.ctrl-state=q02gszd09_4&wc.originURL=%2Fspaces%2FIJK%2Flast

See the I: IJK twice.

The following exception is logged in WLS_Spaces.log:

#### <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1262685668177> <[ServletContext@5164573[app:webcenter module:/webcenter path:/webcenter spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@1f0159[
GET /webcenter/faces/oracle/webcenter/webcenterapp/view/pages/shared/GlobalSearchViewer.jspx?wc.taskFlowId=search-view&resourceId=test&wc.taskFlowPath=%2Foracle%2Fwebcenter%2Fsearch%2Fcontroller%2Ftaskflows%2FsearchResults.xml&_adf.ctrl-state=q02gszd09_4&resourceType=searchKeywords HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: tr,en-us;q=0.8,en;q=0.6,nl;q=0.4,hu;q=0.2
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: ORA_WEBCENTERAPP_preferredLang=en; JSESSIONID=9GZgLDLhNcG428WzddmsKYBWhvtW51ZyGkLvVZd985gJTXj4zfMM!-1614180410; ORA_TAHITI_PREFS=-0--------------; __qca=4a4effe4-920c2-60012-52c3e; openworld_sf_act=109; oracle.uix=0^^GMT+1:00^p; ORA_MOS_LOCALE=en%7CUS; ORA_CSM_LOCALE=en; __utma=48671393.1377819760.1260805151.1260805151.1260805151.1; __utmz=48671393.1260805151.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_nr=1262423076399; ORA_UCM_INFO=3~00027147766664264399722216870092~Peter~Ondrejka~peter.ondrejka@oracle.com~HUN~en~7~44~~~1; ORA_UCM_VER=%2FMP%2F8ncrcp%2Cmlbpchi_>mp_ajc%2CamkMP%2F8lapan*kj%60nafg%5D<kn%5D_ha*_kiMP%2F8%2F26%2C65%2C7%2C22MP%2F8-04*43*5*00; ORA_UCM_SRVC=3*OTN~1~0~//~null~*OPN~1~0~//~SE1%3ASE1%3ASE1%3ASE1%3ASE1%3ASE1%3ASE1%3ASE1%3A~*EMP~1~0~/34/~null~*GMO~1~0~//~null; ORASSO_AUTH_HINT=v1.0~20100105172351; s_cc=true; gpv_p24=no%20value; gpw_e24=no%20value; s_sq=%5B%5BB%5D%5D

]] Root cause of ServletException.
javax.servlet.ServletException: Request Query String contains invalid values
at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:163)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)_$#$_

So in summary, the issue is that Spaces shows the Error page if trying to display a page that has a I (capital i) character in its URL, when the browser's language is set to Turkish.

Steps to reproduce
==================
1. Change your browser's language to Turkish (Move it to the top of the list).

2. Enter a search term into the search bar on the top-right-hand corner (in the Local Toolbar) and notice that the search result comes up in a popup.

3. Click on any of the items of the More button and notice the problem.

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