taskain7 commented on code in PR #3377:
URL: https://github.com/apache/fineract/pull/3377#discussion_r1297147980
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/loanschedule/domain/AbstractLoanScheduleGenerator.java:
##########
@@ -2110,6 +2175,9 @@ private LoanScheduleDTO rescheduleNextInstallments(final
MathContext mc, final L
// this block is to retain the schedule installments prior to the
// provided date and creates late and early payment details for further
// calculations
+ if (Objects.isNull(rescheduleFrom) &&
loanApplicationTerms.isDownPaymentEnabled()) {
Review Comment:
if the rescheduling happens because down payment is enabled, but interest
recalculation is disabled, in this case the rescheduleFrom date will be `null`
and the rescheduling will fail with exception
--
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]