You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2008/07/22 19:18:35 UTC
svn commit: r678809 -
/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/interceptor/context/SearchingOperationContext.java
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>();