directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRSERVER-2030) Remove the casting in generateResponse() method of SearchRequestHandler
Date Sat, 29 Nov 2014 13:13:12 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-2030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kiran Ayyagari resolved DIRSERVER-2030.
---------------------------------------
    Resolution: Fixed

Committed here http://svn.apache.org/r1642430.

> Remove the casting in generateResponse() method of SearchRequestHandler
> -----------------------------------------------------------------------
>
>                 Key: DIRSERVER-2030
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2030
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M19
>            Reporter: Kiran Ayyagari
>            Assignee: Kiran Ayyagari
>            Priority: Blocker
>             Fix For: 2.0.0-M20
>
>
> Currently to check if an entry is a referral the below cast is done.
> {code}Attribute ref = ( ( ClonedServerEntry ) entry ).getOriginalEntry().get( SchemaConstants.REF_AT
);{code}
> But this casting fails when SortControl is used cause SortedEntryCursor returns DefaultEntry
objects (they contain the attributes of a *filtered* ClonedEntry).
> OTOH, this casting is not needed to check the referral nature of an entry.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message