Dominik Süß created SLING-8528:
----------------------------------
Summary: ACLs for Serviceusers on nodes with nodetypes registered
via content-package may break startup in repoinit.
Key: SLING-8528
URL: https://issues.apache.org/jira/browse/SLING-8528
Project: Sling
Issue Type: Bug
Components: Feature Model
Reporter: Dominik Süß
If a content-package contains a CND with a new nodetype these nodetypes are
processed and registered before the content is being installed. The CP to
featuremodel converter creates paths for nodes on which ACLS for serviceusers
are registered. These nodes may be created based on nodetypes defined in the
own or another content-package it depends on.
As repoinit is executed ahead of content-package installation the execution of
repoinit may fail with {{javax.jcr.nodetype.NoSuchNodeTypeException: Node type
my:NodeType does not exist}}
To eliminate this problem altogether the converter should extract all node type
definitions found in content-packages and registere via repoinit (see register
nodetype section in
https://sling.apache.org/documentation/bundles/repository-initialization.html)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)