directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Created] (DIRSERVER-1748) EqualityEvaluator does not work correctly
Date Thu, 30 Aug 2012 08:15:07 GMT
Emmanuel Lecharny created DIRSERVER-1748:

             Summary: EqualityEvaluator does not work correctly
                 Key: DIRSERVER-1748
             Project: Directory ApacheDS
          Issue Type: Bug
            Reporter: Emmanuel Lecharny
            Priority: Blocker

When we use the EqualityEvaluator as the main cursor, it does not return correct results,
because the ldapComparator is not set if the AT has an index on it :

    public EqualityEvaluator( EqualityNode<T> node, Store<Entry, ID> db, SchemaManager
schemaManager )
        throws Exception
        super( node, db, schemaManager );

        if ( db.hasIndexOn( attributeType ) )
            idx = ( Index<T, Entry, ID> ) db.getIndex( attributeType );
            normalizer = null;
            ldapComparator = null;

We should always initialize the normalizer and ldapcomparator.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message