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

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/plugins/ReferentialIntegrityPlugin.java b/opendj-server-legacy/src/main/java/org/opends/server/plugins/ReferentialIntegrityPlugin.java
index c334d49..3a6d272 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/plugins/ReferentialIntegrityPlugin.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/plugins/ReferentialIntegrityPlugin.java
@@ -1043,7 +1043,7 @@
 
     for (AttributeType attrType : attributeTypes)
     {
-      final List<Attribute> attrs = entry.getAttribute(attrType, false);
+      final List<Attribute> attrs = entry.getAllAttributes(attrType, false);
       PluginResult.PreOperation result = isIntegrityMaintained(attrs, entryDN, entryBaseDN);
       if (result.getResultCode() != ResultCode.SUCCESS)
       {

--
Gitblit v1.10.0