-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.0 CE RC6, 6.2.0 CE GA1, 6.2.1 CE GA2, 6.2.10 EE GA1, 7.0.0 M3
-
Fix Version/s: 6.2.2 CE GA3 , 6.2.3 CE GA4, 6.2.X EE, 7.0.0 M2
-
Component/s: WCM, Web Search, Web Search > Search Widgets
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:9
-
Fix Priority:3
-
Git Pull Request:
Steps to Reproduce
1- Create 1-2 arbitrary Web Contents by Test user.
2- Goto http://localhost:8080/c/search/open_search?keywords=test
Result:
1- Status page loaded with "Internal Server Error" (See: LPS-47341-reproduced-1.png)
2- Log entries:
10:56:23,226 ERROR [http-bio-9080-exec-7][PortletRequestProcessor:466] Forward does not exist 10:56:23,536 ERROR [http-bio-9080-exec-7][status_jsp:754] java.text.ParseException: Unparseable date: ""
Note: In PortalOpenSearchImpl#search the following code would caused an NPE, if the first issue (ParseException) was solved:
String snippet = results.snippet(i); Summary summary = indexer.getSummary( result, snippet, portletURL, null, null);
This is because we don't return such snippet in the "Hits" since LPS-28728, instead, we have dedicated fields to store the snippets.
Expected result: See: LPS-47341-fixed-1.png