sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Schaefer (Jira)" <j...@apache.org>
Subject [jira] [Updated] (SLING-8578) Nodes which contain : are not correctly processed
Date Mon, 16 Dec 2019 22:41:00 GMT

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

Andreas Schaefer updated SLING-8578:
------------------------------------
    Fix Version/s:     (was: Content-Package to Feature Model Converter 1.0.0)
                   Content-Package to Feature Model Converter 1.0.2

> 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
>             Fix For: Content-Package to Feature Model Converter 1.0.2
>
>          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)

Mime
View raw message