From dev-return-97954-archive-asf-public=cust-asf.ponee.io@sling.apache.org Tue Jun 25 15:27:01 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A472B18067C for ; Tue, 25 Jun 2019 17:27:01 +0200 (CEST) Received: (qmail 42136 invoked by uid 500); 25 Jun 2019 15:27:01 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 42088 invoked by uid 99); 25 Jun 2019 15:27:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2019 15:27:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 68A0FE2831 for ; Tue, 25 Jun 2019 15:27:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 25F0425814 for ; Tue, 25 Jun 2019 15:27:00 +0000 (UTC) Date: Tue, 25 Jun 2019 15:27:00 +0000 (UTC) From: "Simone Tripodi (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Issue Comment Deleted] (SLING-8528) ACLs for Serviceusers on nodes with nodetypes registered via content-package may break startup in repoinit. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-8528?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Simone Tripodi updated SLING-8528: ---------------------------------- Comment: was deleted (was: added the ability to detect namespaces and register them in [e2a849c|= https://github.com/apache/sling-org-apache-sling-feature-cpconverter/commit= /e2a849caaf29e873b747822b5ddd257d4947d83d]) > ACLs for Serviceusers on nodes with nodetypes registered via content-pack= age 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=C3=BC=C3=9F > Assignee: Simone Tripodi > Priority: Major > > If a content-package contains a CND with a new nodetype these nodetypes a= re processed and registered before the content is being installed. The CP t= o featuremodel converter creates paths for nodes on which ACLS for serviceu= sers are registered. These nodes may be created based on nodetypes defined = in the own or another content-package it depends on. =20 > As repoinit is executed ahead of content-package installation the executi= on of repoinit may fail with {{javax.jcr.nodetype.NoSuchNodeTypeException: = Node type my:NodeType does not exist}}=20 > To eliminate this problem altogether the converter should extract all nod= e type definitions found in content-packages and registere via repoinit (se= e register nodetype section in https://sling.apache.org/documentation/bundl= es/repository-initialization.html) -- This message was sent by Atlassian JIRA (v7.6.3#76005)