-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FINERACT-1847: Removing Edit function from Goodwill Credit or Payout Refund or Merch… #2852
FINERACT-1847: Removing Edit function from Goodwill Credit or Payout Refund or Merch… #2852
Conversation
@josehernandezfintecheandomx Please double check the tests. It is failing with this:
|
802fc0a
to
8c4edf6
Compare
Done! @adamsaghy I needed to update this test because the reversal or edit for these transactions are not allowed more |
8c4edf6
to
2f522a9
Compare
@josehernandezfintecheandomx test is still failing
|
...apache/fineract/portfolio/loanaccount/service/LoanWritePlatformServiceJpaRepositoryImpl.java
Outdated
Show resolved
Hide resolved
integration-tests/src/test/java/org/apache/fineract/integrationtests/BatchApiTest.java
Outdated
Show resolved
Hide resolved
integration-tests/src/test/java/org/apache/fineract/integrationtests/BatchApiTest.java
Outdated
Show resolved
Hide resolved
.../fineract/integrationtests/ClientLoanCreditBalanceRefundandRepaymentTypeIntegrationTest.java
Outdated
Show resolved
Hide resolved
45f45e9
to
981e176
Compare
fineract-provider/src/main/java/org/apache/fineract/commands/service/CommandWrapperBuilder.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add test cases to cover the adjusting of the goodwill credit, payout refund and merchant issued refund and chargeback is not possible and they throw the proper error.
Also please remove the "dead code" which was added (CommandWrapperBuilder.java)
...-tests/src/test/java/org/apache/fineract/integrationtests/LoanTransactionChargebackTest.java
Show resolved
Hide resolved
981e176
to
3b615e1
Compare
.../fineract/integrationtests/ClientLoanCreditBalanceRefundandRepaymentTypeIntegrationTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing test cases:
Please add test cases to cover the adjusting of the goodwill credit, payout refund and merchant issued refund and chargeback is not possible and they throw the proper error.
3b615e1
to
a0fae04
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@josehernandezfintecheandomx Testing whether adjusting
- merchant issued refund
- chargeback
is not enabled is still missing. Would you please add the test cases for these two as well?
41dcf53
to
685d176
Compare
...rg/apache/fineract/portfolio/client/service/ClientWritePlatformServiceJpaRepositoryImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please extract the bugfix of "updateClient" logic into a new, separate PR!
…Refund or Merchant Issued Refund transactions on API level
685d176
to
6fd304c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Fix on API level which will remove the Edit option of
Goodwill Credit
,Payout Refund
andMerchant Issued Refund
transactionsFINERACT-1847
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
Write the commit message as per https://github.com/apache/fineract/#pull-requests
Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.
Create/update unit or integration tests for verifying the changes made.
Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.
Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes
Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the developer mailing list for guidance, if required.)
FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.