[GeoNetwork-devel] StringIndexOutOfBounds

Hi,

I'm getting StringIndexOutOfBounds exception in LuceneQueryBuilder#addLocaleTerm when requestedLanguageOnly value is 'false'. Not sure if I've configured the database settings correctly as code seems to check for prefix 'only_' or 'prefer'. Exception occurs in 'prefer' check, so perhaps should be more stringent checking there? This breaks search for me on 2.8.x RC2.

cheers,

Brian.

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.