Mihaly Dallos created FINERACT-1845:
---------------------------------------
Summary: Getting 500 error when we create a charge on an overpaid
account as maturity date is null
Key: FINERACT-1845
URL: https://issues.apache.org/jira/browse/FINERACT-1845
Project: Apache Fineract
Issue Type: Bug
Reporter: Mihaly Dallos
Attachments: bb0bcc90-4861-42b4-a4c4-798fca833697.png
{panel}
When admin tries to create charge on an overpaid loan, we will get an 500 Error
{panel}
*Steps to reproduce:*
* create a Loan
* overpay it
* try to create charge
*Actual result:*
* 500 Internal Error
* !bb0bcc90-4861-42b4-a4c4-798fca833697.png!
*Expected result:*
* http 403 Forbidden
* No charge to be added on overpaid loan
----
*Attachment from issue-report:*
https://github.com/openMF/fineract/blob/4c597b61fb6f460ff0755aa899f278f395c481f6/fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanChargeWritePlatformServiceImpl.java#L955
--
This message was sent by Atlassian Jira
(v8.20.10#820010)