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…
Reference in New Issue