Merge pull request #620 from EricLemieux/fix-618

Fix Issue 618 | NPE bundle validation
This commit is contained in:
Grahame Grieve 2021-10-13 08:12:52 +11:00 committed by GitHub
commit 5a4ebbcba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;