You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Santosh Math (JIRA)" <ji...@apache.org> on 2019/02/28 05:57:00 UTC
[jira] [Commented] (FINERACT-684) Create and approve loan in batch
mode with transaction true fails
[ https://issues.apache.org/jira/browse/FINERACT-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16780135#comment-16780135 ]
Santosh Math commented on FINERACT-684:
---------------------------------------
[~sapana], could you give me the details testing scenarios of this ticket?
> Create and approve loan in batch mode with transaction true fails
> -----------------------------------------------------------------
>
> Key: FINERACT-684
> URL: https://issues.apache.org/jira/browse/FINERACT-684
> Project: Apache Fineract
> Issue Type: Bug
> Components: Loan
> Affects Versions: 1.1.0
> Reporter: sapana
> Priority: Major
> Labels: p1
> Fix For: 1.4.0
>
> Attachments: BatchRequest.txt
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> For pre-approved loans, requirement is to create, approve and disburse loan as part of single batch request with transaction set to true. It fails with Nil pointer exception.
> Couple of observations:
> 1. if enclosingTransaction=true is not specified, the request works. Only fails with transaction mode on
> 2. If enclosingTransaction=true is specified, and the batch request is to create loan, and approve a pre-existing loan, it works.
> sample request attached.
> error msg recieved:
> [
> {
> "statusCode": 400,
> "body": "Transaction is being rolled back. First erroneous request: \n{\"requestId\":3,\"statusCode\":500,\"headers\":[{\"name\":\"Content-type\",\"value\":\"text/html\"}],\"body\":\"{\\\"Exception\\\": java.lang.NullPointerException}\"}"
> }
> ]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)