directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r447871 - /directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/subtree/SubentryService.java
Date Tue, 19 Sep 2006 15:10:02 GMT
Author: akarasulu
Date: Tue Sep 19 08:10:01 2006
New Revision: 447871

URL: http://svn.apache.org/viewvc?view=rev&rev=447871
Log:
fixing bug where objectClass was not retrieved in subenties searched for on startup

Modified:
    directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/subtree/SubentryService.java

Modified: directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/subtree/SubentryService.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/subtree/SubentryService.java?view=diff&rev=447871&r1=447870&r2=447871
==============================================================================
--- directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/subtree/SubentryService.java
(original)
+++ directory/branches/apacheds/1.0/core/src/main/java/org/apache/directory/server/core/subtree/SubentryService.java
Tue Sep 19 08:10:01 2006
@@ -133,8 +133,7 @@
         ExprNode filter = new SimpleNode( "objectclass", "subentry", LeafNode.EQUALITY );
         SearchControls controls = new SearchControls();
         controls.setSearchScope( SearchControls.SUBTREE_SCOPE );
-        controls.setReturningAttributes( new String[]
-            { "subtreeSpecification" } );
+        controls.setReturningAttributes( new String[] { "subtreeSpecification", "objectClass"
} );
 
         // search each namingContext for subentries
         while ( suffixes.hasNext() )



Mime
View raw message