directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSERVER-1769) We don't call the lookup() method when we have a search on scope BASE and (Objectclass=*)
Date Wed, 28 Nov 2012 13:00:58 GMT
Emmanuel Lecharny created DIRSERVER-1769:
--------------------------------------------

             Summary: We don't call the lookup() method when we have a search on scope BASE
and (Objectclass=*)
                 Key: DIRSERVER-1769
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1769
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0-M8
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.0-M9


Currently, we always do a search, which is costly, when we can simply call the lookup method,
which does not construct a cursor.

It has some impact though :
- the filtering of attributes does not work properly if we do a selection of inherited AT
(like asking for 'name' instead of 'cn', etc)

We can also go a step farther, and call the lookup method even when the filter is different
than (ObjectClass=*)

--
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

Mime
View raw message