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/plugins/EntryUUIDPlugin.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/plugins/EntryUUIDPlugin.java b/opendj-server-legacy/src/main/java/org/opends/server/plugins/EntryUUIDPlugin.java
index dab6f14..6c5b16f 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/plugins/EntryUUIDPlugin.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/plugins/EntryUUIDPlugin.java
@@ -100,7 +100,7 @@
   {
     // See if the entry being imported already contains an entryUUID attribute.
     // If so, then leave it alone.
-    List<Attribute> uuidList = entry.getAttribute(entryUUIDType);
+    List<Attribute> uuidList = entry.getAllAttributes(entryUUIDType);
     if (!uuidList.isEmpty())
     {
       return PluginResult.ImportLDIF.continueEntryProcessing();

--
Gitblit v1.10.0