Skip to content

FINERACT-2529: pass externalId instead of null resolvedClientId in Cl…#195

Closed
mansi75 wants to merge 1 commit intoopenMF:developfrom
mansi75:fix/FINERACT-2529-client-not-found-exception
Closed

FINERACT-2529: pass externalId instead of null resolvedClientId in Cl…#195
mansi75 wants to merge 1 commit intoopenMF:developfrom
mansi75:fix/FINERACT-2529-client-not-found-exception

Conversation

@mansi75
Copy link

@mansi75 mansi75 commented Mar 13, 2026

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.

@adamsaghy
Copy link
Collaborator

Please raise the PR against apache/develop, not openmf/develop branch.

@adamsaghy adamsaghy closed this Mar 16, 2026
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.

2 participants