You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Thomas Mueller (Jira)" <ji...@apache.org> on 2021/08/26 11:33:00 UTC

[jira] [Commented] (SLING-10754) Missing entries in filter.xml

    [ https://issues.apache.org/jira/browse/SLING-10754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405163#comment-17405163 ] 

Thomas Mueller commented on SLING-10754:
----------------------------------------

I wonder, which commit broke it? Could you link the issues please?

> Missing entries in filter.xml
> -----------------------------
>
>                 Key: SLING-10754
>                 URL: https://issues.apache.org/jira/browse/SLING-10754
>             Project: Sling
>          Issue Type: Bug
>          Components: Content-Package to Feature Model Converter
>    Affects Versions: Content-Package to Feature Model Converter 1.1.8
>            Reporter: Karl Pauls
>            Priority: Major
>             Fix For: Content-Package to Feature Model Converter 1.1.10
>
>
> The calculation for the filter.xml of converted content packages can miss filters if the target is defined inside a content.xml. As an example, a content package with an entry like:
> {noformat}
> jcr_root/_oak_index/.content.xml
>     <?xml version="1.0" encoding="UTF-8"?>
>     <jcr:root ...
>      ...
>       <foo-index-1>
> .....
> {noformat}
> and a filter.xml containing: 
> {noformat}
> <filter root="/oak:index/foo-index-1/>
> {noformat}
> can generate a content package with a filter.xml missing the filter entry fo the index.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)