directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r678809 - /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchingOperationContext.java
Date Tue, 22 Jul 2008 17:18:35 GMT
Author: akarasulu
Date: Tue Jul 22 10:18:34 2008
New Revision: 678809

URL: http://svn.apache.org/viewvc?rev=678809&view=rev
Log:
fix major search bug which made no attributes to return seem like 1.1 attribute was provided.

Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchingOperationContext.java

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchingOperationContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchingOperationContext.java?rev=678809&r1=678808&r2=678809&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchingOperationContext.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchingOperationContext.java
Tue Jul 22 10:18:34 2008
@@ -127,7 +127,7 @@
     
     protected void setReturningAttributes( String[] attributesIds ) throws Exception
     {
-        if ( attributesIds != null )
+        if ( attributesIds != null && attributesIds.length != 0 )
         {
             returningAttributes = new HashSet<AttributeTypeOptions>();
             



Mime
View raw message