Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 21740 invoked from network); 19 Mar 2007 23:19:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2007 23:19:56 -0000 Received: (qmail 7728 invoked by uid 500); 19 Mar 2007 23:20:01 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 7695 invoked by uid 500); 19 Mar 2007 23:20:01 -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 7669 invoked by uid 99); 19 Mar 2007 23:20:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2007 16:20:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2007 16:19:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7CE28714073 for ; Mon, 19 Mar 2007 16:19:32 -0700 (PDT) Message-ID: <13267059.1174346372507.JavaMail.jira@brutus> Date: Mon, 19 Mar 2007 16:19:32 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIRSERVER-874) Entries should be normalized in the NormalizationService MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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.