Dominik Süß created SLING-10469:
-----------------------------------

             Summary: Breaking leftover dir folders for configs in generated 
packages
                 Key: SLING-10469
                 URL: https://issues.apache.org/jira/browse/SLING-10469
             Project: Sling
          Issue Type: Bug
          Components: Content-Package to Feature Model Converter
    Affects Versions: Content-Package to Feature Model Converter 1.1.4
            Reporter: Dominik Süß


In case a configuration package is generated from an existing repository due to 
the serialization logic for each nt:file representing a configuration there is 
also a .dir folder (with an embedded .content.xml declaring nodetype etc.) as a 
sibling.
The configuration handlers only handle the binaries but don't recognize the 
sibling structures which will make them remain in the package and therefore 
render the packages invalid as the binary belonging to the nt:file is being 
stripped out.

To prevent this (rare but existing) edge case the Configuration handler should 
also detect the dir folder and drop it from assembly in the target package as 
well.



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

Reply via email to