From b97785a371b09a674dbef8029a99a730ee928e8d Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Wed, 19 Dec 2007 09:55:26 +0000
Subject: [PATCH] Fix for issue 2446 part #1.

---
 opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java b/opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java
index 10fbd64..a4b5f79 100644
--- a/opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java
+++ b/opends/src/server/org/opends/server/admin/AbstractManagedObjectDefinition.java
@@ -749,8 +749,8 @@
 
 
   /**
-   * Initializes all of the property definitions associated with this
-   * managed object definition.
+   * Initializes all of the components associated with this managed
+   * object definition.
    *
    * @throws Exception
    *           If this managed object definition could not be
@@ -762,6 +762,10 @@
       pd.getDefaultBehaviorProvider().initialize();
     }
 
+    for (RelationDefinition<?, ?> rd : getAllRelationDefinitions()) {
+      rd.initialize();
+    }
+
     for (Constraint constraint : getAllConstraints()) {
       constraint.initialize();
     }

--
Gitblit v1.10.0