Robert Munteanu created SLING-12474:
---------------------------------------

             Summary: Incorrect repoinit statements generated for bundles 
embedded more than once at different paths
                 Key: SLING-12474
                 URL: https://issues.apache.org/jira/browse/SLING-12474
             Project: Sling
          Issue Type: Bug
          Components: Content-Package to Feature Model Converter
            Reporter: Robert Munteanu
             Fix For: Content-Package to Feature Model Converter 1.3.10


When processing bundle with Sling initial content, the conversion process 
generates:
- a content package with regular files
- repoinit statements ensuring the ancestors are created with the correct JCR 
primary type

The primary type for the repoinit statements is looked up in the content 
packages.

When a bundle is embedded twice ( in my case two content packages, but it 
remains to be seen if this is a requirement ) the generated content package is 
processed only once. This happens because the tracking is done by repository 
path, not by package id.

This means that any repoinit statements generated for one of the packages will 
not make use of the repository path information, leading to incorrect repoinit 
statements.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to