[ 
https://issues.apache.org/jira/browse/FINERACT-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihaly Dallos updated FINERACT-1842:
------------------------------------
    Description: 
*Repro steps:*
 # Create a loan
 # Approve a loan
 # Disburse a loan

*Actual result:*
{{entityId}} in the HTTP response is the Disbursement Transaction ID

*Expected result:*
{{entityId}} in the HTTP response should be the Loan ID
{{entityExternalId}} in the HTTP response should be the Loan external ID
{{subEntityId}} in the HTTP response should be the Disbursement Transaction ID
{{subEntityExternalId}} in the HTTP response should be the Disbursement 
Transaction external ID
 
{panel:title=Important Notice }
(!) This is a *breaking API change* and shall be properly communicated. It 
should appear in the release changelog, fineract users should be notified in 
advance so they can switch over from using {{entityId}} to {{{}subEntityId{}}}.
{panel}
 

  was:
*Repro steps:*
 # Create a loan

 # Approve a loan

 # Disburse a loan

*Actual result:*

{{entityId}} in the HTTP response is the Disbursement Transaction ID

*Expected result:*

{{entityId}} in the HTTP response should be the Loan ID

{{entityExternalId}} in the HTTP response should be the Loan external ID

{{subEntityId}} in the HTTP response should be the Disbursement Transaction ID

{{subEntityExternalId}} in the HTTP response should be the Disbursement 
Transaction external ID

 
{panel:title=Important Notice }
(!) This is a *breaking API change* and shall be properly communicated. It 
should appear in the release changelog, fineract users should be notified in 
advance so they can switch over from using {{entityId}} to {{{}subEntityId{}}}.
{panel}
 


> Wrong entityId is returned upon disbursing a loan
> -------------------------------------------------
>
>                 Key: FINERACT-1842
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1842
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Mihaly Dallos
>            Priority: Major
>              Labels: PepperSoup
>
> *Repro steps:*
>  # Create a loan
>  # Approve a loan
>  # Disburse a loan
> *Actual result:*
> {{entityId}} in the HTTP response is the Disbursement Transaction ID
> *Expected result:*
> {{entityId}} in the HTTP response should be the Loan ID
> {{entityExternalId}} in the HTTP response should be the Loan external ID
> {{subEntityId}} in the HTTP response should be the Disbursement Transaction ID
> {{subEntityExternalId}} in the HTTP response should be the Disbursement 
> Transaction external ID
>  
> {panel:title=Important Notice }
> (!) This is a *breaking API change* and shall be properly communicated. It 
> should appear in the release changelog, fineract users should be notified in 
> advance so they can switch over from using {{entityId}} to 
> {{{}subEntityId{}}}.
> {panel}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to