You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2016/09/07 09:27:21 UTC

[jira] [Resolved] (SLING-6042) Use sling:resourceTypesWithDescendants instead of sling:resourceTypesWithChildren

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

Robert Munteanu resolved SLING-6042.
------------------------------------
    Resolution: Fixed

Applied in https://svn.apache.org/r1759570, thanks!

> Use sling:resourceTypesWithDescendants instead of sling:resourceTypesWithChildren
> ---------------------------------------------------------------------------------
>
>                 Key: SLING-6042
>                 URL: https://issues.apache.org/jira/browse/SLING-6042
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Georg Henzler
>            Assignee: Robert Munteanu
>             Fix For: Oak Restrictions 1.0.0
>
>
> After some discussion at [1], the current version of the oak restrictions initially committed with SLING-5768 should be updated to use sling:resourceTypesWithDescendants instead of sling:resourceTypesWithChildren (the latter is semantically not correct as not only the children are matched but all descendants, thanks [~jsedding] for pointing this out). 
> The documentation has already been updated via SLING-5890 and is available at [2]
> [1] https://www.mail-archive.com/dev@sling.apache.org/msg58935.html
> [2] https://sling.apache.org/documentation/bundles/sling-oak-restrictions.html



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