Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 89335 invoked from network); 19 Mar 2011 15:28:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Mar 2011 15:28:54 -0000 Received: (qmail 96351 invoked by uid 500); 19 Mar 2011 15:28:54 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 96289 invoked by uid 500); 19 Mar 2011 15:28:54 -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 96282 invoked by uid 99); 19 Mar 2011 15:28:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Mar 2011 15:28:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Mar 2011 15:28:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BA20C3B1213 for ; Sat, 19 Mar 2011 15:28:29 +0000 (UTC) Date: Sat, 19 Mar 2011 15:28:29 +0000 (UTC) From: "Kiran Ayyagari (JIRA)" To: dev@directory.apache.org Message-ID: <682753934.13694.1300548509759.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (DIRSERVER-1612) Wrong attribute name comparision in the testReplaceCaseOfAttributeDescription() of ModifyReplaceIT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Wrong attribute name comparision in the testReplaceCaseOfAttributeDescription() of ModifyReplaceIT --------------------------------------------------------------------------------------------------- Key: DIRSERVER-1612 URL: https://issues.apache.org/jira/browse/DIRSERVER-1612 Project: Directory ApacheDS Issue Type: Bug Reporter: Kiran Ayyagari Assignee: Kiran Ayyagari The testReplaceCaseOfAttributeDescription() method is expecting the attribute's ID/name to be normalized but the user provided name should be preserved as it is. For the record: This issue was exposed while trying to fix the ServerEntryUtils.toServerModification() method to use EntryAttribute's getUpId() instead of getId() method. The EntryAttribute.getId() method was recently updated to return the OID of the attribute so when a modify operation goes through Coresession's modify( ModifyRequest modifyRequest ) or modify( ModifyRequest modifyRequest, LogChange log ) the ServerEntryUtils.toServerModification() method gets called which is replacing 'upId' with 'Id' hence the entry will display OID of attribute instead of it's name. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira