From effe8f91cb351e912cb5bb64170c5d8d0057f19b Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Wed, 28 Jan 2009 00:53:03 +0000
Subject: [PATCH] - [Issue 3726] RealAttributesOnly Control does not work when types-only search option is enabled: quick plug to avoid turning virtual attributes into real attributes.
---
opendj-sdk/opends/src/server/org/opends/server/types/Entry.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/types/Entry.java b/opendj-sdk/opends/src/server/org/opends/server/types/Entry.java
index b3214e7..2538631 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/types/Entry.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/types/Entry.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2006-2008 Sun Microsystems, Inc.
+ * Copyright 2006-2009 Sun Microsystems, Inc.
*/
package org.opends.server.types;
import org.opends.messages.Message;
@@ -1242,7 +1242,7 @@
{
if (a.hasAllOptions(options))
{
- if (omitValues)
+ if (omitValues && !a.isVirtual())
{
duplicateList.add(Attributes.empty(a));
}
--
Gitblit v1.10.0