[
https://issues.apache.org/jira/browse/FINERACT-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Saghy resolved FINERACT-2156.
----------------------------------
Resolution: Fixed
> Confirm existance of elements before accessing them
> ---------------------------------------------------
>
> Key: FINERACT-2156
> URL: https://issues.apache.org/jira/browse/FINERACT-2156
> Project: Apache Fineract
> Issue Type: Task
> Components: Savings
> Reporter: Kigenyi Wilfred
> Priority: Minor
> Fix For: 1.12.0
>
>
> The function validateAccountBalanceDoesnotViolateOverdraft unconditionally
> access items in a list without checking if they really exist which causes an
> OutOfIndex exception. It should check first of the elements exist before
> accessing. In case the list is empty then the proper exception is thrown
--
This message was sent by Atlassian Jira
(v8.20.10#820010)