-
Notifications
You must be signed in to change notification settings - Fork 160
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
No error message issued when passing in a incorrect resource on _revinclude. #1629
Comments
lenient vs strict mode consideration |
If running in strict mode, an error will be returned if an invalid target resource type is specified in a In addition, changes will be made to |
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
Issue #1629 - return error if bad resource type on revinclude
Verified that in strict mode now this throws an error 400 and does not process the search. And in lenient mode the error part of the command is ignored and dropped, and the search is processed. |
Describe the bug
A clear and concise description of what the bug is.
When searching with the following get statement:
https://localhost:7000/fhir-server/api/v4/Patient?_id=&_revinclude=Provedance:*
there is no resource Provedance, but the fhir server did not issue an error. it just dropped it and processed the search.
"url": "https://localhost:9443/fhir-server/api/v4/Patient?_count=10&_id=&_page=1"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
With the fact that the resource type is an error it should give a error message vs dropping the _revinclude
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: