Closed codeforgreen closed 3 weeks ago
Formatting check succeeded!
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.42%. Comparing base (
497b9f2
) to head (d57019d
). Report is 81 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes #5988
FhirResourceDaoR4SearchBundleNoFTTest
.ArrayIndexOutOfBounds
when the resource is created/updated, which would happen in theResourceLinkPredicateBuilder
methodcreateResourceLinkPaths
. I noticed that the spec does not mention any restriction with respect to parameter name (code), therefore I applied two fixes here. One was try to first lookup a parameter using the full name including dot, and in case if not found, then try to build the chain. Second of all, the qualifier list provided can be empty and in such cases it should not produce an ArrayIndexOutOfBounds.ResourceLinkPredicateBuilderTest
to ensure mentioned issues are fixed.