You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Niek Raaijmakers (Jira)" <ji...@apache.org> on 2022/07/26 09:28:00 UTC

[jira] [Updated] (SLING-11497) CPConverter - sling initial content - cnd files in bundles are not respected

     [ https://issues.apache.org/jira/browse/SLING-11497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niek Raaijmakers updated SLING-11497:
-------------------------------------
    Description: 
When using the CPConverter with sling initial content, there is a problem when providing a CND file in the bundle itself.

It's being ignored, and thus not included into the repoinit statements of the resulting feature model.

 

Therefore, the namespace / node types are not registered properly.

 

  was:
We at Adobe are introducing a new extension "extracted-repo-namespaces" in the aem SDK feature model.

In here we put "register namespace repoinit statements" of the repository, so we can use the namespaces without issues.

We need to use a separate extension with just the register namespace statements, instead of all the repoinit statements of the SDK, because then the aemanalyser will analyse a huge repoinit statement that is irrelevant for the end-users.

 

But we do need the namespaces for sling initial content to work in the CPConverter.


> CPConverter - sling initial content - cnd files in bundles are not respected
> ----------------------------------------------------------------------------
>
>                 Key: SLING-11497
>                 URL: https://issues.apache.org/jira/browse/SLING-11497
>             Project: Sling
>          Issue Type: Bug
>          Components: Content-Package to Feature Model Converter
>    Affects Versions: Content-Package to Feature Model Converter 1.1.14
>            Reporter: Niek Raaijmakers
>            Assignee: Niek Raaijmakers
>            Priority: Major
>
> When using the CPConverter with sling initial content, there is a problem when providing a CND file in the bundle itself.
> It's being ignored, and thus not included into the repoinit statements of the resulting feature model.
>  
> Therefore, the namespace / node types are not registered properly.
>  



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