Emmanuel Lecharny created DIRSERVER-1748:
--------------------------------------------
Summary: EqualityEvaluator does not work correctly
Key: DIRSERVER-1748
URL: https://issues.apache.org/jira/browse/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: http://www.atlassian.com/software/jira