We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
PatchResourceHandler doesn't pass through client supplied weak Etag
fhir-server/src/Microsoft.Health.Fhir.Shared.Core/Features/Resources/Patch/PatchResourceHandler.cs
Line 71 in 9836090
Should be:
return await _mediator.Send<UpsertResourceResponse>(new UpsertResourceRequest(patchedResource, request.WeakETag), cancellationToken);
FHIR Version? Stu3/R4/R5
Data provider? CosmosDB/SQL Server
To Reproduce Steps to reproduce the behavior:
Expected behavior Resource is updated
Actual behavior
Error is returned.
{ "resourceType": "OperationOutcome", "id": "d244e9d8-877b-4e47-8561-db9d2576a7e7", "meta": { "lastUpdated": "2022-10-12T22:43:04.8241419+00:00" }, "issue": [ { "severity": "error", "code": "invalid", "diagnostics": "A valid if-match header is required for resource type 'Patient'." } ] }
AB#96468
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
PatchResourceHandler doesn't pass through client supplied weak Etag
fhir-server/src/Microsoft.Health.Fhir.Shared.Core/Features/Resources/Patch/PatchResourceHandler.cs
Line 71 in 9836090
Should be:
FHIR Version?
Stu3/R4/R5
Data provider?
CosmosDB/SQL Server
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Resource is updated
Actual behavior
Error is returned.
AB#96468
The text was updated successfully, but these errors were encountered: