mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-08 13:54:44 +00:00
Fix Issue 618 | NPE bundle validation
When validating a bundle, with the type, searchset, a NPE would be thrown if some but not all entities contained a search mode.
This commit is contained in:
parent
a9962c94f3
commit
dc368e17cb
@ -143,7 +143,7 @@ public class BundleValidator extends BaseValidator{
|
||||
}
|
||||
|
||||
Boolean searchMode = readHasSearchMode(entries);
|
||||
if (searchMode == false) { // if no resources have search mode
|
||||
if (searchMode != null && searchMode == false) { // if no resources have search mode
|
||||
boolean typeProblem = false;
|
||||
String rtype = null;
|
||||
int count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user