Skip to content

Commit

Permalink
Merge branch 'support-4.4' of github.com:Evolveum/midpoint into suppo…
Browse files Browse the repository at this point in the history
…rt-4.4

* 'support-4.4' of github.com:Evolveum/midpoint:
  MID-8063 tentative fix for NPE, couldn't properly reproduce
  • Loading branch information
katkav committed Aug 30, 2022
2 parents 97eb04c + de3ebf8 commit 7bd6f69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public boolean hasAllDefinitions(List<SearchItemDefinition> definitions) {
for (SearchItemDefinition def : definitions) {
boolean exists = false;
for (SearchItemDefinition existingDef : getAllDefinitions()) {
if (existingDef.getPath() != null && QNameUtil.match(existingDef.getPath().lastName(), def.getPath().lastName())) {
if (def.getPath() != null && existingDef.getPath() != null && QNameUtil.match(existingDef.getPath().lastName(), def.getPath().lastName())) {
exists = true;
break;
}
Expand Down

0 comments on commit 7bd6f69

Please sign in to comment.