Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 49859 invoked from network); 20 Dec 2008 13:47:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2008 13:47:08 -0000 Received: (qmail 11748 invoked by uid 500); 20 Dec 2008 13:47:07 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 11721 invoked by uid 500); 20 Dec 2008 13:47:07 -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 11712 invoked by uid 99); 20 Dec 2008 13:47:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Dec 2008 05:47:06 -0800 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, 20 Dec 2008 13:47:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 44AA3234C462 for ; Sat, 20 Dec 2008 05:46:44 -0800 (PST) Message-ID: <152510557.1229780804279.JavaMail.jira@brutus> Date: Sat, 20 Dec 2008 05:46:44 -0800 (PST) From: "Lorenz Breu (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIRSERVER-1296) integer attribute types are not compared correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org integer attribute types are not compared correctly -------------------------------------------------- Key: DIRSERVER-1296 URL: https://issues.apache.org/jira/browse/DIRSERVER-1296 Project: Directory ApacheDS Issue Type: Bug Components: core Reporter: Lorenz Breu When searching for entries that have attributes with the INTEGER syntax, the values are compared lexicographically, not numerically. This happens even if the ordering and equality types are explicitly set to their integer versions when injecting the attribute types into ADS. Example: dn: cn = foo, dc = example cn: foo integerAttribute: 435 now a search using "(integerAttribute<=500)" will correctly return the entry.... but a search using "(integerAttribute<=44)" will ALSO return the entry, which it clearly should not. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.