You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Bharath Gowda (Jira)" <ji...@apache.org> on 2024/12/16 14:07:00 UTC
[jira] [Updated] (FINERACT-2156) Confirm existance of elements before accessing them
[ https://issues.apache.org/jira/browse/FINERACT-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bharath Gowda updated FINERACT-2156:
------------------------------------
Fix Version/s: 1.11
> 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
>
>
> 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)