From d408e72de6b31ec6e44a073beb47c067f09fea78 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Wed, 12 Jul 2006 09:23:19 +0000
Subject: [PATCH] - pre-operation plugins are not called anymore when processing synchronization operations for ADD,DELELTE and MODIFYDN as it was already the case for MODIFY operation This is necessary to make sure that entries use the same unique ID everywhere.
---
opends/src/server/org/opends/server/core/ModifyOperation.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/ModifyOperation.java b/opends/src/server/org/opends/server/core/ModifyOperation.java
index 96599bd..75d9b59 100644
--- a/opends/src/server/org/opends/server/core/ModifyOperation.java
+++ b/opends/src/server/org/opends/server/core/ModifyOperation.java
@@ -209,7 +209,7 @@
this.entryDN = entryDN;
this.modifications = modifications;
- rawEntryDN = new ASN1OctetString(rawEntryDN.toString());
+ rawEntryDN = new ASN1OctetString(entryDN.toString());
rawModifications = new ArrayList<LDAPModification>(modifications.size());
for (Modification m : modifications)
@@ -1706,7 +1706,7 @@
return;
}
-
+ // If the operation is not a synchronization operation,
// Invoke the pre-operation modify plugins.
if (!isSynchronizationOperation())
{
--
Gitblit v1.10.0