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

Warning statement should be issued when an explicitly-configured search parameter doesn't exist #3219

Closed
sfc42 opened this issue Jan 20, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@sfc42
Copy link
Contributor

sfc42 commented Jan 20, 2022

Describe the bug
Warning statement should be issued when an explicitly-configured search parameter doesn't exist

Environment
4.11.0

To Reproduce
Steps to reproduce the behavior:

  1. Add a search parameter to the server-config file that doesn't exist
  2. The server starts, but doesn't warn the user the search parameter doesn't exist.

Expected behavior
A warning should end up in the log to tell the user the search parameter doesn't exist.

Additional context
Add any other context about the problem here.

@sfc42 sfc42 added the bug Something isn't working label Jan 20, 2022
@sfc42 sfc42 self-assigned this Jan 20, 2022
@sfc42
Copy link
Contributor Author

sfc42 commented Jan 20, 2022

The pull request for this issue was merged: #3221

@kmbarton423
Copy link
Contributor

Confirmed new warning message received on startup when a non-existent search parameter is specified in fhirServer/resources//searchParameters:

ParametersUti W Search parameter 'favorite-food' with the configured url 'http://ibm.com/fhir/SearchParameter/Patient-favorite-food' for resourceType 'Patient' could not be found.

@kmbarton423
Copy link
Contributor

Also confirmed new warning message received on startup when a non-existent search parameter is specified in fhirServer/resources/Resource/searchParameters:

ParametersUti W Search parameter 'favorite-food' with the configured url 'http://ibm.com/fhir/SearchParameter/Patient-favorite-food' for resourceType 'Resource' could not be found.

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