Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 96216 invoked from network); 1 Oct 2009 22:46:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 22:46:48 -0000 Received: (qmail 39571 invoked by uid 500); 1 Oct 2009 22:46:48 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 39106 invoked by uid 500); 1 Oct 2009 22:46:47 -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 39068 invoked by uid 99); 1 Oct 2009 22:46:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 22:46:47 +0000 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 22:46:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B0816234C1F0 for ; Thu, 1 Oct 2009 15:46:23 -0700 (PDT) Message-ID: <1757345528.1254437183721.JavaMail.jira@brutus> Date: Thu, 1 Oct 2009 15:46:23 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-1413) Key pair generation attempts to add duplicate objectClass values In-Reply-To: <194425294.1254419423451.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/DIRSERVER-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761379#action_12761379 ] Emmanuel Lecharny commented on DIRSERVER-1413: ---------------------------------------------- Just a question : have you tried with 1.5.5 ? Not to say that it has been fixed, but if the issue is still present in this version, we will fix it on trunk, as 1.5.4 won't be fixed . thanks ! > Key pair generation attempts to add duplicate objectClass values > ---------------------------------------------------------------- > > Key: DIRSERVER-1413 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1413 > Project: Directory ApacheDS > Issue Type: Bug > Components: core > Affects Versions: 1.5.4 > Reporter: Jeremy Gustie > Priority: Trivial > Original Estimate: 0.08h > Remaining Estimate: 0.08h > > The TlsKeyGenerator.addKeyPair(ServerEntry) method adds objectClass values for 'tlsKeyInfo' and 'inetOrgPerson' without checking if they have already been added. This results in the ERROR level message "The value 'inetOrgPerson' is incorrect, it hasn't been added" being emitted from DefaultServerAttribute.add. In the case of the system administrator created by the DefaultDirectoryService, this error message always appears on the first load as the 'inetOrgPerson' value is explicitly added before calling addKeyPair. Replacing the objectClass.add(...) call with !objectClass.contains(...)/objectClass.add(...) would prevent this error message from appearing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.