directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorenz Breu (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1296) integer attribute types are not compared correctly
Date Sat, 20 Dec 2008 13:46:44 GMT
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.


Mime
View raw message