Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 97191 invoked from network); 22 Jul 2008 17:19:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 17:19:26 -0000 Received: (qmail 28581 invoked by uid 500); 22 Jul 2008 17:19:26 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 28549 invoked by uid 500); 22 Jul 2008 17:19:26 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 28540 invoked by uid 99); 22 Jul 2008 17:19:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 10:19:26 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 17:18:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D3AA3238896C; Tue, 22 Jul 2008 10:18:35 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@directory.apache.org From: akarasulu@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080722171835.D3AA3238896C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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();