From d89c47e7cb1b3c9181e25582539aac1dedb46099 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 08 Aug 2016 07:31:25 +0000
Subject: [PATCH] Partial OPENDJ-3106 Migrate Entry
---
opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java
index 282f166..414f105 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java
@@ -2609,7 +2609,7 @@
// loop on the attribute types in the entry just received
// and add them in the existing schema.
Set<String> oidList = new HashSet<>(1000);
- for (Attribute a : newSchemaEntry.getAttribute(attributeTypesType))
+ for (Attribute a : newSchemaEntry.getAllAttributes(attributeTypesType))
{
// Look for attribute types that could have been added to the schema
// or modified in the schema
@@ -2660,7 +2660,7 @@
// loop on the objectClasses from the entry, search if they are
// already in the current schema, add them if not.
oidList.clear();
- for (Attribute a : newSchemaEntry.getAttribute(objectClassesType))
+ for (Attribute a : newSchemaEntry.getAllAttributes(objectClassesType))
{
for (ByteString v : a)
{
--
Gitblit v1.10.0