From db8ccd3607a951d74b373afc6ca63b3b18554ab1 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Thu, 08 Mar 2007 08:50:49 +0000
Subject: [PATCH] Issue 613 : Add the capability to deal with schema changes made be editing the schema files : The core server provides a notification to the synchronization. The synchronization generates a pseudo changes and propagate it to the other LDAP servers through the synchronization servers.

---
 opends/src/server/org/opends/server/backends/SchemaBackend.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opends/src/server/org/opends/server/backends/SchemaBackend.java b/opends/src/server/org/opends/server/backends/SchemaBackend.java
index 24fd759..4a68e5b 100644
--- a/opends/src/server/org/opends/server/backends/SchemaBackend.java
+++ b/opends/src/server/org/opends/server/backends/SchemaBackend.java
@@ -3425,10 +3425,10 @@
       if (values != null)
       {
         ArrayList<Attribute> attrList = new ArrayList<Attribute>(1);
-        attrList.add(new Attribute(matchingRuleUsesType,
-                                 matchingRuleUsesType.getPrimaryName(),
-                                 values));
-        schemaEntry.putAttribute(matchingRuleUsesType, attrList);
+        attrList.add(new Attribute(synchronizationStateType,
+                                   synchronizationStateType.getPrimaryName(),
+                                   values));
+        schemaEntry.putAttribute(synchronizationStateType, attrList);
       }
     }
 

--
Gitblit v1.10.0