Karl Pauls created SLING-10754:
----------------------------------

             Summary: 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
             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)

Reply via email to