Search Does Not Work When WebCenter Spaces Language Set to Turkish
(Doc ID 1052852.1)
Last updated on JANUARY 30, 2022
Applies to:
Oracle WebCenter Portal - Version 11.1.1.2.0 and laterInformation in this document applies to any platform.
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:
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://<HOST>:<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://<HOST>:<PORT>/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:
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
]] 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
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
Symptoms |
Cause |
Solution |
References |