You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/03/04 07:59:33 UTC

[syncope] branch master updated: [SYNCOPE-1442] Abort scheduled execution was just logged but not effective, for scheduled tasks

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

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new 141edff  [SYNCOPE-1442] Abort scheduled execution was just logged but not effective, for scheduled tasks
141edff is described below

commit 141edff18d7bca4ca681bd0c5bb0fd52f79b7f7a
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon Mar 4 08:57:26 2019 +0100

    [SYNCOPE-1442] Abort scheduled execution was just logged but not effective, for scheduled tasks
---
 .../syncope/core/provisioning/java/job/AbstractSchedTaskJobDelegate.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/job/AbstractSchedTaskJobDelegate.java b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/job/AbstractSchedTaskJobDelegate.java
index cf309e2..796abc4 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/job/AbstractSchedTaskJobDelegate.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/job/AbstractSchedTaskJobDelegate.java
@@ -107,6 +107,7 @@ public abstract class AbstractSchedTaskJobDelegate implements SchedTaskJobDelega
 
         if (!task.isActive()) {
             LOG.info("Task {} not active, aborting...", taskKey);
+            return;
         }
 
         TaskExec execution = entityFactory.newEntity(TaskExec.class);