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

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
index c8144f9..3d3caba 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -688,7 +688,7 @@
           && resourceEntry.hasAttribute(modAttrType))
       {
         container.setCurrentAttributeType(modAttrType);
-        for (Attribute a : resourceEntry.getAttribute(modAttr.getAttributeDescription()))
+        for (Attribute a : resourceEntry.getAllAttributes(modAttr.getAttributeDescription()))
         {
           for (ByteString v : a)
           {
@@ -728,7 +728,7 @@
             break;
           case INCREMENT:
             Entry modifiedEntry = operation.getModifiedEntry();
-            for (Attribute attr : modifiedEntry.getAttribute(modAttr.getAttributeDescription()))
+            for (Attribute attr : modifiedEntry.getAllAttributes(modAttr.getAttributeDescription()))
             {
               for (ByteString val : attr)
               {

--
Gitblit v1.10.0