You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "mansi75 (via GitHub)" <gi...@apache.org> on 2026/03/16 14:46:12 UTC
[PR] FINERACT-2529: pass externalId instead of null resolvedClientId in Cl… [fineract]
mansi75 opened a new pull request, #5632:
URL: https://github.com/apache/fineract/pull/5632
## Problem
In `ClientApiResource.java`, the `getResolvedClientId` method throws a `ClientNotFoundException` using `resolvedClientId` variable. However, this block of code only executes when `resolvedClientId` is null, resulting in an unhelpful error message: "Client with identifier null does not exist."
## Fix
Passed the `externalId` string to the exception instead of `resolvedClientId`, so the error message accurately reflects which external identifier failed to resolve.
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] FINERACT-2529: pass externalId instead of null resolvedClientId in Cl… [fineract]
Posted by "meonkeys (via GitHub)" <gi...@apache.org>.
meonkeys commented on PR #5632:
URL: https://github.com/apache/fineract/pull/5632#issuecomment-4092100176
Thanks for doing that, @mansi75.
@adamsaghy agreed, that's sounds like a great case for a contributor to do a local rebase.
The general guidance in FSIP-7 is the best to follow. I'll update `CONTRIBUTING.md` today, too.
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] FINERACT-2529: pass externalId instead of null resolvedClientId in Cl… [fineract]
Posted by "adamsaghy (via GitHub)" <gi...@apache.org>.
adamsaghy commented on PR #5632:
URL: https://github.com/apache/fineract/pull/5632#issuecomment-4088779227
@mansi75 I understand we are moving away from 1 commit per PR, but i still kindly asking you to squash the last 5-6 commits of yours as most of them fixing "trailing space issues", which is simply just "noise"....
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] FINERACT-2529: pass externalId instead of null resolvedClientId in Cl… [fineract]
Posted by "mansi75 (via GitHub)" <gi...@apache.org>.
mansi75 commented on PR #5632:
URL: https://github.com/apache/fineract/pull/5632#issuecomment-4089349537
@adamsaghy Got your point. I have squashed the last 6 commits. May you please kindly check if it looks fine
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] FINERACT-2529: pass externalId instead of null resolvedClientId in Cl… [fineract]
Posted by "adamsaghy (via GitHub)" <gi...@apache.org>.
adamsaghy merged PR #5632:
URL: https://github.com/apache/fineract/pull/5632
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] FINERACT-2529: pass externalId instead of null resolvedClientId in Cl… [fineract]
Posted by "mansi75 (via GitHub)" <gi...@apache.org>.
mansi75 commented on PR #5632:
URL: https://github.com/apache/fineract/pull/5632#issuecomment-4084732384
@adamsaghy It was showing 'unverified' because I didn't add my GPG key on github. I have added the GPG key. It is verified now. Sorry for the confusion
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] FINERACT-2529: pass externalId instead of null resolvedClientId in Cl… [fineract]
Posted by "adamsaghy (via GitHub)" <gi...@apache.org>.
adamsaghy commented on PR #5632:
URL: https://github.com/apache/fineract/pull/5632#issuecomment-4084629456
@mansi75 I a not sure why but for all of your commits it says "unverified"... :/
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] FINERACT-2529: pass externalId instead of null resolvedClientId in Cl… [fineract]
Posted by "mansi75 (via GitHub)" <gi...@apache.org>.
mansi75 commented on PR #5632:
URL: https://github.com/apache/fineract/pull/5632#issuecomment-4084594927
@adamsaghy I have fixed the above BatchApi failed check. The only check now failing is Fineract PR One Commit Per User Check. I have done the fix for that in the below PR
https://github.com/apache/fineract/pull/5644
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] FINERACT-2529: pass externalId instead of null resolvedClientId in Cl… [fineract]
Posted by "adamsaghy (via GitHub)" <gi...@apache.org>.
adamsaghy commented on PR #5632:
URL: https://github.com/apache/fineract/pull/5632#issuecomment-4073523414
```
Failed scenarios:
file:///home/runner/work/fineract/fineract/fineract-e2e-tests-runner/src/test/resources/features/BatchApi.feature:25 # Verify Batch API call in case of enclosing transaction is TRUE and one of the steps fails
13 Scenarios (1 failed, 12 passed)
73 Steps (1 failed, 1 skipped, 71 passed)
2m24.370s
org.opentest4j.AssertionFailedError: [Not the expected error message in error body: Actual error message is: Client with identifier org.apache.fineract.infrastructure.core.domain.ExternalId@f9933d45 does not exist. Expected error message is: Client with identifier null does not exist]
expected: "Client with identifier null does not exist"
but was: "Client with identifier org.apache.fineract.infrastructure.core.domain.ExternalId@f9933d45 does not exist"
at org.apache.fineract.test.stepdef.common.BatchApiStepDef.clientNotCreated(BatchApiStepDef.java:932)
at ✽.Nr. 1 Client creation was rolled back(file:///home/runner/work/fineract/fineract/fineract-e2e-tests-runner/src/test/resources/features/BatchApi.feature:28)
--
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: issues-unsubscribe@fineract.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org