[
https://issues.apache.org/jira/browse/DIRSERVER-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834362#comment-13834362
]
Emmanuel Lecharny commented on DIRSERVER-1921:
----------------------------------------------
Well, it's probably enough to change the DnCompator.compare() method to ends
with :
...
return dn0.getNormName().compareTo( dn1.getNormName() );
}
That fixes the test. To be tested globally though...
> Indexes dont work on distinguishedNameMatch attributeType
> ---------------------------------------------------------
>
> Key: DIRSERVER-1921
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1921
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0-M15
> Reporter: lucas theisen
> Priority: Critical
> Labels: patch, test
> Fix For: 2.0.0-RC1
>
> Attachments: patch.txt
>
>
> When attempting to add an index for an attribute that uses
> distinguishedNameMatch, items are not found. I will attach a patch for the
> JdbmIndexTest that demonstrates the issue.
--
This message was sent by Atlassian JIRA
(v6.1#6144)