MIFOSX-1842 Fix for TransientPropertyValueException during Loan Approval-when the approved amount was lesser than loan demanded.

This commit is contained in:
Chandrika
2015-04-13 16:16:48 -04:00
parent b393b24c2d
commit 445f57f81d
@@ -838,7 +838,7 @@ public class LoanApplicationWritePlatformServiceJpaRepositoryImpl implements Loa
loan.regenerateRepaymentSchedule(scheduleGeneratorDTO, currentUser);
}
this.loanRepository.save(loan);
saveAndFlushLoanWithDataIntegrityViolationChecks(loan);
final String noteText = command.stringValueOfParameterNamed("note");
if (StringUtils.isNotBlank(noteText)) {