-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.6
-
Fix Version/s: 5.6.0-HF24, 5.7.3
-
Component/s: Query & PageProvider
-
Backlog priority:100
In the quick search box type a number like 123456789012345678 and after a few seconds an error occurs:
Caused by: java.lang.NumberFormatException: For input string: "789012345678" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.nuxeo.ecm.platform.suggestbox.utils.DateMatcher.fromInput(DateMatcher.java:120) at org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByDateSuggester.suggest(DocumentSearchByDateSuggester.java:62) at org.nuxeo.ecm.platform.suggestbox.service.SuggestionServiceImpl.suggest(SuggestionServiceImpl.java:82) at org.nuxeo.ecm.platform.suggestbox.jsf.SuggestboxActions.getSuggestions(SuggestboxActions.java:132) ...