From 3abf557a605041e265d0e2a18b729b65c2bd2690 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Thu, 27 May 2010 14:37:37 +0000
Subject: [PATCH] Fix issue #4537, naming changelog entries with changeNumber instead of cn. Improve ECL and tests as well

---
 opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ExternalChangelogDomain.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ExternalChangelogDomain.java b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ExternalChangelogDomain.java
index e50a690..b8a0d94 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ExternalChangelogDomain.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ExternalChangelogDomain.java
@@ -66,8 +66,8 @@
     if (configuration.getECLInclude() != null)
     {
       HashSet<String> attrNames = new HashSet<String>(0);
-      for (AttributeType eclInclude : configuration.getECLInclude())
-        attrNames.add(eclInclude.getNormalizedPrimaryName());
+      for (AttributeType eclIncludeAttribute : configuration.getECLInclude())
+        attrNames.add(eclIncludeAttribute.getNormalizedPrimaryName());
       domain.setEclInclude(domain.getServerId(), attrNames);
     }
   }
@@ -129,7 +129,7 @@
       HashSet<String> attrNames = new HashSet<String>(0);
       for (AttributeType eclInclude : configuration.getECLInclude())
         attrNames.add(eclInclude.getNormalizedPrimaryName());
-      domain.setEclInclude(domain.getServerId(), attrNames);
+      domain.changeConfig(attrNames);
       return new ConfigChangeResult(ResultCode.SUCCESS, false);
     }
     catch (Exception e)

--
Gitblit v1.10.0