You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/06/16 13:11:00 UTC
[jira] [Commented] (DIRSERVER-2133) Add the hasSubordinates
operational attribute to entries
[ https://issues.apache.org/jira/browse/DIRSERVER-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865007#comment-16865007 ]
Emmanuel Lecharny commented on DIRSERVER-2133:
----------------------------------------------
This is not absolutely trivial, even if it should be. Every time we fetch an Entry, we have to rebuild its {{DN}}, which requires we rebuild it based on the {{RdnIndex}}. Each {{Rdn}} we pull from this index will contain the information we need to add the {{HasSubordinates}} attribute to the entry (ie, we know if the {{RDN}} has descendant, and their number).
Sadly, this information is lost because we just get back the built {{DN}}. Ideally speaking, we should also return the information when the function that builds the {{DN}} is called (aka {{buildEntryDn}}) and use it.
Will try to have it implemented.
> Add the hasSubordinates operational attribute to entries
> --------------------------------------------------------
>
> Key: DIRSERVER-2133
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2133
> Project: Directory ApacheDS
> Issue Type: Improvement
> Affects Versions: 2.0.0-M21
> Reporter: Emmanuel Lecharny
> Priority: Major
> Fix For: 2.0.0.AM26
>
>
> There is a {{hasSubordinates}} attributeType that tells if the entry has some children or not. We should add it to every returned entry
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org