Skip to content

FINERACT-2156: Confirm existance of elements before accessing them - #4202

Merged
adamsaghy merged 1 commit into
apache:developfrom
wkigenyi:2156
Mar 14, 2025
Merged

FINERACT-2156: Confirm existance of elements before accessing them#4202
adamsaghy merged 1 commit into
apache:developfrom
wkigenyi:2156

Conversation

@wkigenyi

@wkigenyi wkigenyi commented Dec 1, 2024

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 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.

Comment thread hs_err_pid7500.log Outdated
@@ -0,0 +1,1068 @@
#

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please remove this.

Comment thread hs_err_pid8972.log Outdated
@@ -0,0 +1,1093 @@
#

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please remove this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Removed

@adamsaghy adamsaghy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please kindly remove the log files!

@wkigenyi
wkigenyi force-pushed the 2156 branch 2 times, most recently from d1052ab to 07b94e7 Compare December 30, 2024 21:52
@wkigenyi
wkigenyi marked this pull request as ready for review December 31, 2024 06:58
@wkigenyi

wkigenyi commented Jan 1, 2025

Copy link
Copy Markdown
Contributor Author

@adamsaghy this is now ready for review

@adamsaghy adamsaghy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@wkigenyi Kindly see my review!

@github-actions

github-actions Bot commented Feb 1, 2025

Copy link
Copy Markdown

This pull request seems to be stale. Are you still planning to work on it? We will automatically close it in 30 days.

@github-actions github-actions Bot added the stale label Feb 1, 2025
@galovics

galovics commented Feb 4, 2025

Copy link
Copy Markdown
Contributor

@wkigenyi any plans to continue this PR?

@wkigenyi

wkigenyi commented Feb 4, 2025

Copy link
Copy Markdown
Contributor Author

Yes I work on it. Been busy with some back log.

@github-actions github-actions Bot removed the stale label Feb 5, 2025
@wkigenyi

wkigenyi commented Mar 3, 2025 via email

Copy link
Copy Markdown
Contributor Author

@wkigenyi
wkigenyi force-pushed the 2156 branch 3 times, most recently from 2589c4d to 25a5d52 Compare March 10, 2025 16:38
@wkigenyi

Copy link
Copy Markdown
Contributor Author

@adamsaghy could you guide me on how to fix this test? The result says it got status 403 instead of the 400 that was expected. In the test I specified:

assertEquals("error.msg.savingsaccount.transaction.insufficient.account.balance",
                savingsAccountErrorData.get(0).get(CommonConstants.RESPONSE_ERROR_MESSAGE_CODE));

I am not sure that status code is being considered instead of the string I specified.

@adamsaghy
adamsaghy merged commit 2ac1445 into apache:develop Mar 14, 2025
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