alberto-art3ch commented on code in PR #4916:
URL: https://github.com/apache/fineract/pull/4916#discussion_r2265087369


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -1348,10 +1347,10 @@ public CommandProcessingResult 
chargebackLoanTransaction(final Long loanId, fina
                 LoanTransactionRelationTypeEnum.CHARGEBACK);
         this.loanTransactionRelationRepository.save(loanTransactionRelation);
 
-        handleChargebackTransaction(loan, newTransaction);
-
         newTransaction = 
this.loanTransactionRepository.saveAndFlush(newTransaction);
 
+        handleChargebackTransaction(loan, newTransaction);

Review Comment:
   Done! code updated, the save as part of the method 
`handleChargebackTransaction` after reprocessing but before determine the 
transition



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