Skip to content
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

Spurious UninitializedPropertyAccessException in AkidPrincipalLookup when DuchyInfo not configured #1262

Open
SanjayVas opened this issue Sep 28, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@SanjayVas
Copy link
Member

AkidPrincipalLookup is designed to work for all CMMS v2alpha API servers. It first tries to read the AKID->principal mapping file, and then falls back to DuchyInfo config.

Not all servers have a DuchyInfo config. For example, the server for the RequisitionFulfillment service is only expected to be called by DataProviders. In the case where the AKID is not found in the mapping file, we get an error that the DuchyInfo is not initialized. This makes it appear that there is a configuration error in the server.

@SanjayVas SanjayVas added the bug Something isn't working label Sep 28, 2023
@kungfucraig
Copy link
Member

See the stack trace in the image.

Stack Trace

@kungfucraig kungfucraig self-assigned this Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants