You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Michał Wędzik (Jira)" <ji...@apache.org> on 2026/05/20 07:31:00 UTC
[jira] [Created] (SLING-13205) CLONE - Incorrect repoinit statements generated for bundles embedded more than once at different paths
Michał Wędzik created SLING-13205:
-------------------------------------
Summary: CLONE - Incorrect repoinit statements generated for bundles embedded more than once at different paths
Key: SLING-13205
URL: https://issues.apache.org/jira/browse/SLING-13205
Project: Sling
Issue Type: Bug
Components: Content-Package to Feature Model Converter
Reporter: Michał Wędzik
Assignee: Robert Munteanu
Fix For: Content-Package to Feature Model Converter 1.3.12
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)