Skip to content

FINERACT-2455: Working Capital Loan Charge - Product Creation & Template#5847

Merged
adamsaghy merged 2 commits into
apache:developfrom
openMF:FINERACT-2455/working-capital-charge-product-support
May 20, 2026
Merged

FINERACT-2455: Working Capital Loan Charge - Product Creation & Template#5847
adamsaghy merged 2 commits into
apache:developfrom
openMF:FINERACT-2455/working-capital-charge-product-support

Conversation

@somasorosdpc
Copy link
Copy Markdown
Contributor

Description

Describe the changes made and why they were made. (Ignore if these details are present on the associated Apache Fineract JIRA ticket.)

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Write the commit message as per our guidelines
  • 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 our 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
  • This PR must not be a "code dump". Large changes can be made in a branch, with assistance. Ask for help on the developer mailing list.

Your assigned reviewer(s) will follow our guidelines for code reviews.

@somasorosdpc somasorosdpc force-pushed the FINERACT-2455/working-capital-charge-product-support branch from e48e3c7 to 3b1ab5e Compare May 15, 2026 11:52
Copy link
Copy Markdown
Contributor

@galovics galovics left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @contributor, thanks for the PR. The feature shape looks reasonable. I have a few things I'd like to discuss before approving.

The retrieveCalculationTypes override returns null when chargeAppliesTo is WORKING_CAPITAL_LOAN and chargeTimeType is provided but isn't SPECIFIED_DUE_DATE - that's a potential NPE for any caller that iterates the returned list. And in the step defs, the new methods break the pattern established by the rest of the file and hardcode raw integers where the existing code uses proper enum types.

Also one small thing in the feature file. Thoughts?

@somasorosdpc somasorosdpc force-pushed the FINERACT-2455/working-capital-charge-product-support branch from 3b1ab5e to a587932 Compare May 18, 2026 18:23
@somasorosdpc somasorosdpc marked this pull request as ready for review May 20, 2026 04:51
@somasorosdpc somasorosdpc requested a review from galovics May 20, 2026 06:34
Copy link
Copy Markdown
Contributor

@adamsaghy adamsaghy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adamsaghy adamsaghy merged commit 502196a into apache:develop May 20, 2026
101 of 106 checks passed
@adamsaghy adamsaghy deleted the FINERACT-2455/working-capital-charge-product-support branch May 20, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants