Issue Type: Bug Bug
Affects Versions: 1.3.0.RELEASE
Assignee: Vishwas Babu A J
Components: Loan
Created: 19/Jun/13 6:18 AM
Description:

When an adjustment is performed on an existing loan transaction - when no note infomration is passed it works correctly.

When note information is passed, and error occurs on the platform from hibernate due to save.

{
    "locale": "en_GB",
    "dateFormat": "dd MMMM yyyy",
    "transactionDate": "22 May 2013",
    "transactionAmount": "0",
    "note": "Duplicate"
}

results in:

org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing: org.mifosplatform.portfolio.note.domain.Note.loanTransaction -> org.mifosplatform.portfolio.loanaccount.domain.LoanTransaction; nested exception is java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing: org.mifosplatform.portfolio.note.domain.Note.loanTransaction -> org.mifosplatform.portfolio.loanaccount.domain.LoanTransaction
Fix Versions: 1.4.1.RELEASE
Project: Mifos X
Labels: musoni
Priority: Minor Minor
Reporter: keithwoodlock
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to