-
Bug
-
Resolution: Fixed
-
Medium
-
3.13
-
3.13
-
Exception thrown while indexing of field that ends with or starts with white-space.
Value being substring'ed is different from the value checking length...
public static String getValueForSorting(final String fieldValue)
{
if ((!StringUtils.isBlank(fieldValue)) && (fieldValue.length() > MAX_SORT_LENGTH))
{
return fieldValue.trim().substring(0, MAX_SORT_LENGTH);
}
return fieldValue;
}
- is caused by
-
JRASERVER-15214 Make searching backend use Lucene
-
- Closed
-