Kigenyi Wilfred created FINERACT-2156:
-----------------------------------------

             Summary: 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


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)

Reply via email to