Merge pull request #1350 from chandrikamohith/exception

MIFOSX-1842 Fix for TransientPropertyValueException during Loan Approval...
This commit is contained in:
Vishwas Babu A J
2015-04-13 14:32:28 -07:00
@@ -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)) {