somasorosdpc commented on code in PR #4634:
URL: https://github.com/apache/fineract/pull/4634#discussion_r2081254417


##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanTransaction.java:
##########
@@ -456,6 +456,7 @@ public void resetDerivedComponents() {
         this.penaltyChargesPortion = null;
         this.overPaymentPortion = null;
         this.outstandingLoanBalance = null;
+        this.loanChargesPaid.clear();

Review Comment:
   It is actually an issue CI found. When repayment is new and processed by 
processLatestTransaction then we run reprocessAllTransactions (valid post 
checks caused reprocess all) while transaction is still new , 
reprocessAllTransactions created duplicated charges paid entries.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to