[
https://issues.apache.org/jira/browse/OAK-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
angela updated OAK-2394:
------------------------
Attachment: OAK-2394.patch
initial patch that doesn't doesn't apply special logic for hidden items thus
making ImmutableTree just a simple tree-wrapper around whatever the underlaying
{{NodeState}} exposes. i am pretty convinced that filtering out hidden items
would have negative consequences with the various validators/editors that are
making use of it.
Note, that this means that almost all methods of {{AbstractTree}} need to be
overridden. maybe we should consider changing the abstract tree such that it
may or may not filter out the hidden items. [~mduerig], what do you think?
> Clarify handling of hidden items in ImmutableTree
> -------------------------------------------------
>
> Key: OAK-2394
> URL: https://issues.apache.org/jira/browse/OAK-2394
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Michael Dürig
> Assignee: angela
> Fix For: 1.1.5
>
> Attachments: OAK-2394.patch
>
>
> While working on OAK-2391, it occurred to me that {{ImmutableTree}} seem to
> *do not* hide 'hidden' nodes ({{:foobar}}) but *does* hide 'hidden'
> properties.
> [~anchela], could you have a look and clarify?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)