[
https://issues.apache.org/jira/browse/DIRSERVER-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRSERVER-1748.
------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-M8
Fixed
> 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
> Fix For: 2.0.0-M8
>
>
> 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