[ 
https://issues.apache.org/jira/browse/SLING-5531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151964#comment-15151964
 ] 

Stefan Seifert commented on SLING-5531:
---------------------------------------

i did not look deeper yet into the sources, but observed the following 
yesterday:
* in a instance running  JCR Base 2.3.0 (AEM in this case) i deployed a bundle 
with only a {{Sling-Namespaces}} header registering one custom namespace. the 
registration did not take place. setting DEBUG level for 
{{org.apache.sling.jcr.base.internal.loader}} did not generate any messages.
* i converted my Sling-Namespaces header to Sling-Nodetypes with a CND file 
containing only a namespace declaration - did not work either.
* i then switched back the svn folder 
https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/base to rev. 1695254 
(version 2.3.1-SNAPSHOT for jcr.base without any further changes), and 
additionally reverted the rev. 1694959 (SLING-4937 : Drop namespace mapping 
support), 1695250 (Use jcr api 2.3.0) and deployed this in the instance.
* the namespace was registered when redeploying my bundle


> Declared Node Type Registration support broken in JCR Base
> ----------------------------------------------------------
>
>                 Key: SLING-5531
>                 URL: https://issues.apache.org/jira/browse/SLING-5531
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.3.0
>            Reporter: Stefan Seifert
>            Assignee: Carsten Ziegeler
>            Priority: Critical
>             Fix For: JCR Base 2.3.2
>
>
> the changes for SLING-4937 (Drop namespace mapping support) broke the 
> "Declared Node Type Registration" feature described in [1].
> this allows to register custom JCR namespaces or nodetypes via a CND file 
> when deploying a bundle and specifying the CND file via a {{Sling-Nodetypes}} 
> bundle header.
> i assume only the support for {{Sling-Namespaces}} should be removed with 
> SLING-4937, not the support for {{Sling-Nodetypes}}.
> [1] 
> https://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to