From 122e22661fac11157f4abf8fe64d83e0ab5a2380 Mon Sep 17 00:00:00 2001 From: Celestino Bellone Date: Tue, 3 Jul 2018 20:19:39 +0200 Subject: [PATCH] #483 - init output property --- src/main/java/alfio/extension/ExtensionService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/alfio/extension/ExtensionService.java b/src/main/java/alfio/extension/ExtensionService.java index 2837438c55..71800ebacb 100644 --- a/src/main/java/alfio/extension/ExtensionService.java +++ b/src/main/java/alfio/extension/ExtensionService.java @@ -212,6 +212,7 @@ public T executeScriptsForEvent(String event, String basePath, Map input = new HashMap<>(payload); input.put("extensionEvent", event); + input.put("output", null); for (ScriptPathNameHash activePath : activePaths) { String path = activePath.getPath(); String name = activePath.getName();