adamsaghy commented on PR #5243:
URL: https://github.com/apache/fineract/pull/5243#issuecomment-3674192846
```
Failed scenarios:
file:///home/runner/work/fineract/fineract/fineract-e2e-tests-runner/src/test/resources/features/LoanReAmortization.feature:597
# Verify Loan re-amortization transaction reverse-replay - UC5:
re-amortization validation should not consider reverted transactions
37 Scenarios (1 failed, 36 passed)
679 Steps (1 failed, 3 skipped, 675 passed)
3m50.818s
org.apache.fineract.client.feign.util.CallFailedRuntimeException: HTTP
failed: status=403,
request=https://localhost:8443/fineract-provider/api/v1/loans/158/transactions?command=undoReAmortize,
errorBody={"developerMessage":"Request was understood but caused a domain rule
violation.","httpStatusCode":"403","defaultUserMessage":"Errors contain reason
for domain rule
violation.","userMessageGlobalisationCode":"validation.msg.domain.rule.violation","errors":[{"defaultUserMessage":"Undoing
a reamortization can only be done if there hasn't been any monetary
transaction afterwards","parameterName":"id","developerMessage":"Undoing a
reamortization can only be done if there hasn't been any monetary transaction
afterwards","userMessageGlobalisationCode":"error.msg.loan.reamortize.repayment.exists.after.reamortization","args":[{"value":158}]}]}
at
org.apache.fineract.client.feign.util.FeignCalls.ok(FeignCalls.java:46)
at
org.apache.fineract.test.stepdef.loan.LoanReAmortizationStepDef.undoLoanReAmortization(LoanReAmortizationStepDef.java:101)
at ✽.Admin undo Loan re-amortization transaction on current business
date(file:///home/runner/work/fineract/fineract/fineract-e2e-tests-runner/src/test/resources/features/LoanReAmortization.feature:676)
Caused by: org.apache.fineract.client.feign.FeignException: status 403
(Validation errors: [id] Undoing a reamortization can only be done if there
hasn't been any monetary transaction afterwards)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]