-
Type:
Improvement
-
Status: Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0.0-M19
-
Fix Version/s: 2.0.0-M20
-
Component/s: None
-
Labels:None
Currently to check if an entry is a referral the below cast is done.
Attribute ref = ( ( ClonedServerEntry ) entry ).getOriginalEntry().get( SchemaConstants.REF_AT );
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.