From dev-return-11988-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Wed May 17 07:37:32 2006 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 69859 invoked from network); 17 May 2006 07:36:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 May 2006 07:36:58 -0000 Received: (qmail 20660 invoked by uid 500); 17 May 2006 07:36:35 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 20618 invoked by uid 500); 17 May 2006 07:36:35 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 20607 invoked by uid 99); 17 May 2006 07:36:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 00:36:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2006 00:36:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3058071429B for ; Wed, 17 May 2006 07:36:06 +0000 (GMT) Message-ID: <11719486.1147851366174.JavaMail.jira@brutus> Date: Wed, 17 May 2006 07:36:06 +0000 (GMT+00:00) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-620) Internal attributes type like objectClass are case sensitive In-Reply-To: <30825397.1147822085931.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-620?page=all ] Emmanuel Lecharny resolved DIRSERVER-620: ----------------------------------------- Resolution: Invalid Of course, it was not a problem in the ADS code, but in the code I just modified ;) Always do : Attributes attrs = new BasicAttributes ( true ); and not Attributes attrs = new BasicAttributes (); > Internal attributes type like objectClass are case sensitive > ------------------------------------------------------------ > > Key: DIRSERVER-620 > URL: http://issues.apache.org/jira/browse/DIRSERVER-620 > Project: Directory ApacheDS > Type: Bug > Versions: 1.0-RC3 > Reporter: Emmanuel Lecharny > Assignee: Emmanuel Lecharny > Priority: Blocker > > The attributeTypes are supposed to be case insensitive. Many operation in the server (like entry.get ( "objectClass" ) ) does not respect this constraint. > All static reference to attribute type in the code must be written in lower case, or at least operation (like the previous one) should lowercase the attributeType. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira