Skip to content

Commit

Permalink
make sure to executed method also in some cases of null target
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Dec 19, 2024
1 parent f99e1e5 commit d590264
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ private static List<Object> resolveParams(
paramValues.add(expr.execute((OIdentifiable) targetObjects, ctx));
} else if (targetObjects instanceof OResult) {
paramValues.add(expr.execute((OResult) targetObjects, ctx));
} else if (val == null) {
paramValues.add(expr.execute((OResult) null, ctx));
} else {
throw new OCommandExecutionException("Invalild value for $current: " + val);
}
Expand Down

0 comments on commit d590264

Please sign in to comment.