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

Mihaly Dallos updated FINERACT-1886:
------------------------------------
    Description: 
*Repro steps*
 # Enable sending Loan* external events
 # Create a Client
 # Create a Loan with 1000 EUR principal
 # Approve the Loan
 # Disburse the Loan
 # Do a repayment of 5 EUR
 # Do a repayment of 5 EUR
 # Do a repayment of 14 EUR
 # Reverse the first repayment

*Actual result*
Individual external events are emitted along with a {{BulkBusinessEvent}} which 
contains the replayed transactions.

*Expected result*
A single {{BulkBusinessEvent}} should be emitted upon reversing a transaction 
causing a replay

  was:
*Repro*
 # Enable sending Loan* external events

 # Create a Client

 # Create a Loan with 1000 EUR principal

 # Approve the Loan

 # Disburse the Loan

 # Do a repayment of 5 EUR

 # Do a repayment of 5 EUR

 # Do a repayment of 14 EUR

 # Reverse the first repayment

*Actual result*

Individual external events are emitted along with a {{BulkBusinessEvent}} which 
contains the replayed transactions.

*Expected result*

A single {{BulkBusinessEvent}} should be emitted upon reversing a transaction 
causing a replay


> Reverse-replay should emit BulkBusinessEvent only
> -------------------------------------------------
>
>                 Key: FINERACT-1886
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1886
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Mihaly Dallos
>            Priority: Major
>              Labels: PepperSoup
>
> *Repro steps*
>  # Enable sending Loan* external events
>  # Create a Client
>  # Create a Loan with 1000 EUR principal
>  # Approve the Loan
>  # Disburse the Loan
>  # Do a repayment of 5 EUR
>  # Do a repayment of 5 EUR
>  # Do a repayment of 14 EUR
>  # Reverse the first repayment
> *Actual result*
> Individual external events are emitted along with a {{BulkBusinessEvent}} 
> which contains the replayed transactions.
> *Expected result*
> A single {{BulkBusinessEvent}} should be emitted upon reversing a transaction 
> causing a replay



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

Reply via email to