adamsaghy commented on code in PR #6069:
URL: https://github.com/apache/fineract/pull/6069#discussion_r3631097226
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/LoanAccrualsProcessingServiceImpl.java:
##########
@@ -205,6 +205,11 @@ public void addAccruals(@NonNull LocalDate tillDate)
throws JobExecutionExceptio
*/
@Override
public void reprocessExistingAccruals(@NonNull final Loan loan, final
boolean addEvent) {
+ if (loan.getId() == null) {
Review Comment:
I dont think we have any scenario where the loan is not yet persisted...
--
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]