syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [syncope] branch 2_0_X updated: [SYNCOPE-1442] Abort scheduled execution was just logged but not effective, for scheduled tasks
Date Mon, 04 Mar 2019 07:59:28 GMT
This is an automated email from the ASF dual-hosted git repository.

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


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

commit f3d846c7743af9a97641ca0c9cabf9738f1a80d4
Author: Francesco Chicchiriccò <ilgrosso@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);


Mime
View raw message