From 780f4ab79dd70ee5468484fff52ffb36fe3ca45e Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Thu, 29 Apr 2010 20:35:40 +0000
Subject: [PATCH] Last batch of changes for this week. This adds support for the IETF based Password Policy for LDAP as SubEntry. Also resolves the following issues : - 4544 : initializeBackend() should not set JE env config params directly. - 4478 : ECL in draft compat mode / search lastchangenumber can be very long - 4538 : Virtual attributes not retrieved when entry cache configured - 4547 : Search Filter Matching differ for cn=Directory Manager and plain user. - 4514 : Logs shows unexpected message with replication monitoring data missing (Partial fix) - 4534 : Replication using security does not work after server restart - 4516 : SEVERE_ERROR: servers (...) have the same ServerId In addition, they also improve reliability and performance in various areas including CollectiveAttributes, Virtual Attributes and Subentries management, Schema loading, Replication...
---
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/JEExtensibleIndexer.java | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/JEExtensibleIndexer.java b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/JEExtensibleIndexer.java
index 35ca4e7..701d5bd 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/JEExtensibleIndexer.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/JEExtensibleIndexer.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2009 Sun Microsystems, Inc.
+ * Copyright 2009-2010 Sun Microsystems, Inc.
*/
@@ -180,6 +180,10 @@
for (Attribute attr : attrList)
{
+ if (attr.isVirtual())
+ {
+ continue;
+ }
for (AttributeValue value : attr)
{
extensibleIndexer.getKeys(value, keys);
@@ -205,10 +209,14 @@
for (Attribute attr : attrList)
{
+ if (attr.isVirtual())
+ {
+ continue;
+ }
for (AttributeValue value : attr)
{
extensibleIndexer.getKeys(value,modifiedKeys,insert);
}
}
}
-}
\ No newline at end of file
+}
--
Gitblit v1.10.0