[
https://issues.apache.org/jira/browse/FINERACT-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906074#comment-17906074
]
Bharath Gowda commented on FINERACT-2156:
-----------------------------------------
moving to fix version to 1.11 as the ticket is still open
> 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.11.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)