Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 7659 invoked from network); 15 Aug 2009 08:58:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Aug 2009 08:58:18 -0000 Received: (qmail 34242 invoked by uid 500); 15 Aug 2009 08:58:24 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 34103 invoked by uid 500); 15 Aug 2009 08:58:24 -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 33951 invoked by uid 99); 15 Aug 2009 08:58:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Aug 2009 08:58:24 +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; Sat, 15 Aug 2009 08:58:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E585E234C4C3 for ; Sat, 15 Aug 2009 01:57:15 -0700 (PDT) Message-ID: <361033921.1250326635939.JavaMail.jira@brutus> Date: Sat, 15 Aug 2009 01:57:15 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-874) Entries should be normalized in the NormalizationService In-Reply-To: <13267059.1174346372507.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-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-874: ---------------------------------------- Fix Version/s: (was: 1.5.5) 2.0.0-RC1 Postponed to 2.0.0-RC1 > Entries should be normalized in the NormalizationService > -------------------------------------------------------- > > Key: DIRSERVER-874 > URL: https://issues.apache.org/jira/browse/DIRSERVER-874 > Project: Directory ApacheDS > Issue Type: Improvement > Reporter: Emmanuel Lecharny > Fix For: 2.0.0-RC1 > > > ATM, we normalize entries (ie, attributes and values) far into the server, in different places. This lead to complicated code, and duplication of operations. We can be sure that we have bugs or at least, bugs will appears as soon as more users will try to store elements which are not exactly what we expected them to be. > The Normalization Service should normalize the attributes, as it does for the DN, to avoid such problems. Attributes normalization consist of : > - replacing the attributeType by its OID > - applying the normalizer on each values > - removing duplicated values in an entry (for instance, it is possible to store two phone number, like 012345 and 01-23-45 are the same number) > We should also normalize add, remove and modify operations in the same way, normalizing ModifcationItems > These modifications are not exactly simple nor fast to implement, but it's mandatory and will help implementing new features in the near future. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.