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/UniqueAttributePlugin.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/plugins/UniqueAttributePlugin.java b/opendj-server-legacy/src/main/java/org/opends/server/plugins/UniqueAttributePlugin.java
index 4f43d0d..c415438 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/plugins/UniqueAttributePlugin.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/plugins/UniqueAttributePlugin.java
@@ -200,7 +200,7 @@
List<ByteString> recordedValues = new LinkedList<>();
for (AttributeType t : config.getType())
{
- for (Attribute a : entry.getAttribute(t))
+ for (Attribute a : entry.getAllAttributes(t))
{
for (ByteString v : a)
{
@@ -393,7 +393,7 @@
DN entryDN = entry.getName();
for (AttributeType t : config.getType())
{
- for (Attribute a : entry.getAttribute(t))
+ for (Attribute a : entry.getAllAttributes(t))
{
for (ByteString v : a)
{
@@ -763,7 +763,7 @@
//Remove the attribute value from the map.
for (AttributeType t : config.getType())
{
- for (Attribute a : entry.getAttribute(t))
+ for (Attribute a : entry.getAllAttributes(t))
{
for (ByteString v : a)
{
--
Gitblit v1.10.0