You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by dg...@apache.org on 2022/08/30 08:54:51 UTC

[unomi] 01/01: UNOMI-651 : fix return type on groovy action executor -> do not return null

This is an automated email from the ASF dual-hosted git repository.

dgriffon pushed a commit to branch fix-missing-groovy-action-execution
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit 186069ea15c07deb952bac81aa9cf916484d16a8
Author: David Griffon <dg...@jahia.com>
AuthorDate: Tue Aug 30 10:54:40 2022 +0200

    UNOMI-651 : fix return type on groovy action executor -> do not return null
---
 .../java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java b/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java
index 837681335..dadeabb44 100644
--- a/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java
+++ b/extensions/groovy-actions/services/src/main/java/org/apache/unomi/groovy/actions/GroovyActionDispatcher.java
@@ -74,6 +74,6 @@ public class GroovyActionDispatcher implements ActionDispatcher {
                 logger.error("Error executing Groovy action with key=" + actionName, e);
             }
         }
-        return null;
+        return 0;
     }
 }