From dev-return-100214-archive-asf-public=cust-asf.ponee.io@sling.apache.org Mon Oct 14 13:22:05 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 156B7180648 for ; Mon, 14 Oct 2019 15:22:04 +0200 (CEST) Received: (qmail 63268 invoked by uid 500); 14 Oct 2019 13:22:02 -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 63108 invoked by uid 99); 14 Oct 2019 13:22: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; Mon, 14 Oct 2019 13:22:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 15ABAE2F4F for ; Mon, 14 Oct 2019 13:22:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 85071780595 for ; Mon, 14 Oct 2019 13:22:00 +0000 (UTC) Date: Mon, 14 Oct 2019 13:22:00 +0000 (UTC) From: "Simone Tripodi (Jira)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SLING-8578) Nodes which contain : are not correctly processed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-8578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simone Tripodi updated SLING-8578: ---------------------------------- Affects Version/s: Content-Package to Feature Model Converter 1.0.0 > Nodes which contain : are not correctly processed > ------------------------------------------------- > > Key: SLING-8578 > URL: https://issues.apache.org/jira/browse/SLING-8578 > Project: Sling > Issue Type: Bug > Components: Content-Package to Feature Model Converter > Affects Versions: Content-Package to Feature Model Converter 1.0.0 > Reporter: Andrei Tuicu > Assignee: Simone Tripodi > Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > h3. Problem > Nodes that contain : character are put in content packages with the help of _ , for example the following path /content/cq:tags/somenode in AEM would look in the content package like: > /jcr_root/_cq_tags/somenode . This is done because Windows does not accept : in the name of it's files/folders. > If the content package converter would process this path it would generate a the following repo:init lines > {code} > "create path (sling:Folder) /content/_cq_tags", > "create path (cq:Tag) /content/_cq_tags/somenode", > {code} > Similar, if there are rep policies under that path, the output would look as following: > {code} > "set ACL for my-system-user", > "allow jcr:versionManagement,jcr:read,rep:write,crx:replicate,jcr:lockManagement on /content/_cq_tags/somenode", > {code} > This results in the wrong node structure in the AEM instance, as follows: > {code} > /content > /cq:tags ### <- original AEM folder > /_cq_tags ###<- folder created by the repoinit statements > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)