Description
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.
Attachments
Issue Links
- blocks
-
FINERACT-1680 Release Apache Fineract 1.8.0
- Resolved
- links to