Compare commits

...

1 Commits

Author SHA1 Message Date
Loïc Mathieu
181460e5d2 fix(system): possible NPE on trigger when computing variables 2025-06-23 17:39:03 +02:00

View File

@@ -299,7 +299,7 @@ public final class RunVariables {
// temporal hack to add back the `schedule`variables
// will be removed in 2.0
if (trigger.getType().equals(Schedule.class.getName())) {
if (Schedule.class.getName().equals(execution.getTrigger().getType())) {
// add back its variables inside the `schedule` variables
builder.put("schedule", execution.getTrigger().getVariables());
}