Login to Mifos
try searching using a composite name ex: (George tony john bailey)
An unhandled error has occurred. Please contact your system administrator.
Hide stack trace
java.lang.IndexOutOfBoundsException: Index: 2,Size: 2
at java.util.SubList.rangeCheck(Unknown Source)
at java.util.SubList.get(Unknown Source)
I tried to reproduce the bug on
and i couldn't
But i succeeded reproducing it on
The comments in the code say it all.
'...we support up to 3 words for client search..'
So looks like in f-release only 3 words are support for client search.
Is it easy to port what we had in G over to support up to 4? Either that or we should not be showing a stack trace at all - should be an error message that 4 word search is not supported. Supporting 4 is the ideal solution though
MIFOS-5024: make change so main search is like head master code in effort to stop search for four names causing out of bounds exception.
Keith Woodlock : 12e8585ca853bf5d5379d6d0e26d6957f6ef2c7d
made this the same as it is in head master. ie. no stack trace will appear for any number names with spaces between them. However, client search only supports 3 search terms (in f-release and head/master)
i've verified this