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

Fix Null Resource in Transactions Result in a 500 #969

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

alexanderkiel
Copy link
Member

The root cause was that if resources in bundles have no resourceType, the conversion from JSON/XML to the internal representation will fail with a NPE. Not an appropriate error is generated.

The root cause was that if resources in bundles have no resourceType,
the conversion from JSON/XML to the internal representation will fail
with a NPE. Not an appropriate error is generated.
@alexanderkiel alexanderkiel self-assigned this Apr 21, 2023
@alexanderkiel alexanderkiel added the bug Something isn't working label Apr 21, 2023
@alexanderkiel alexanderkiel added this to the v0.20.4 milestone Apr 21, 2023
@codecov
Copy link

codecov bot commented Apr 21, 2023

Codecov Report

Merging #969 (3dad16a) into develop (9d18b59) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #969   +/-   ##
========================================
  Coverage    94.06%   94.07%           
========================================
  Files          238      238           
  Lines        15075    15076    +1     
  Branches       381      380    -1     
========================================
+ Hits         14180    14182    +2     
  Misses         514      514           
+ Partials       381      380    -1     
Impacted Files Coverage Δ
...dules/rest-api/src/blaze/rest_api/capabilities.clj 96.29% <ø> (ø)
...odules/fhir-structure/src/blaze/fhir/spec/impl.clj 95.90% <100.00%> (+<0.01%) ⬆️

... and 1 file with indirect coverage changes

@alexanderkiel alexanderkiel merged commit 6c0aa2e into develop Apr 21, 2023
92 checks passed
@alexanderkiel alexanderkiel deleted the fix-invalid-transaction branch April 21, 2023 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:fhir-structure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant