Closed
Description
Describe the bug
Using a PUT operation with a FHIR search that includes spaces escaped with plus sign in the search string fails conditional check.
To Reproduce
Steps to reproduce the behavior:
- Create an Organization with a space in its name:
POST Organization body={"resourceType": "Organization", "name": "FOO BAR"}
- Attempt to update it using a plus sign in your FHIR search:
PUT Organization?name=FOO+BAR body={"resourceType": "Organization", "name": "FOO BAR2"}
Expected behaviour
The PUT operation should succeed, and the resource should be updated with the new name.
Actual behaviour
Fails with the following error response:
400: {"resourceType":"OperationOutcome","issue":\[{"severity":"error","code":"processing","diagnostics":"HAPI-0929: Failed to process conditional create. The supplied resource did not satisfy the conditional URL."}\]}
Metadata
Metadata
Assignees
Labels
No labels