You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "John Woodlock (Jira)" <ji...@apache.org> on 2022/06/20 10:22:00 UTC

[jira] [Created] (FINERACT-1643) Catch external_id duplicates for loan transactions

John Woodlock created FINERACT-1643:
---------------------------------------

             Summary: Catch external_id duplicates for loan transactions
                 Key: FINERACT-1643
                 URL: https://issues.apache.org/jira/browse/FINERACT-1643
             Project: Apache Fineract
          Issue Type: Improvement
          Components: Loan
    Affects Versions: 1.7.0
            Reporter: John Woodlock
            Assignee: John Woodlock
             Fix For: 1.8.0


Currently, most loan transactions that allow externalId as an API parameter result in 500 Internal Server Error if externalId is a duplicate.

Credit Balance Refund & 'Adding Loan Charge' do pick-up and test for externalId duplicates but the code that picks these up is itself 'duplicated'.

This improvement is to use a general DataIntegrityErrorHandler method for loan transactions that picks up on JpaSystemException and DataIntegrityViolationException exceptions highlighting duplicate externalIds in particular.





--
This message was sent by Atlassian Jira
(v8.20.7#820007)