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 2016/06/23 09:23:52 UTC
syncope git commit: [SYNCOPE-876] Fix provided
Repository: syncope
Updated Branches:
refs/heads/1_2_X 5c2d4080c -> 326397bb5
[SYNCOPE-876] Fix provided
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/326397bb
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/326397bb
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/326397bb
Branch: refs/heads/1_2_X
Commit: 326397bb58df67216928c59ed14c5a7474422e25
Parents: 5c2d408
Author: Francesco Chicchiricc� <il...@apache.org>
Authored: Thu Jun 23 11:23:44 2016 +0200
Committer: Francesco Chicchiricc� <il...@apache.org>
Committed: Thu Jun 23 11:23:44 2016 +0200
----------------------------------------------------------------------
.../core/propagation/impl/AbstractPropagationTaskExecutor.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/326397bb/core/src/main/java/org/apache/syncope/core/propagation/impl/AbstractPropagationTaskExecutor.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/syncope/core/propagation/impl/AbstractPropagationTaskExecutor.java b/core/src/main/java/org/apache/syncope/core/propagation/impl/AbstractPropagationTaskExecutor.java
index 14ea42b..3d21b30 100644
--- a/core/src/main/java/org/apache/syncope/core/propagation/impl/AbstractPropagationTaskExecutor.java
+++ b/core/src/main/java/org/apache/syncope/core/propagation/impl/AbstractPropagationTaskExecutor.java
@@ -30,6 +30,7 @@ import org.apache.syncope.common.types.AuditElements.Result;
import org.apache.syncope.common.types.MappingPurpose;
import org.apache.syncope.common.types.PropagationMode;
import org.apache.syncope.common.types.PropagationTaskExecStatus;
+import org.apache.syncope.common.types.ResourceOperation;
import org.apache.syncope.common.types.TraceLevel;
import org.apache.syncope.core.audit.AuditManager;
import org.apache.syncope.core.connid.ConnObjectUtil;
@@ -385,7 +386,7 @@ public abstract class AbstractPropagationTaskExecutor implements PropagationTask
}
}
- if (afterObj == null && uid != null) {
+ if (task.getPropagationOperation() != ResourceOperation.DELETE && afterObj == null && uid != null) {
afterObj = new ConnectorObjectBuilder().
setObjectClass(new ObjectClass(task.getObjectClassName())).
setUid(uid).