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

Timothee Maret edited comment on SLING-9873 at 5/6/21, 8:41 AM:
----------------------------------------------------------------

Ah, you are right. The character {{:}} is invalid for "local" names, but it can 
still show up in JCR names with a namespace. Thanks [~akp-adobe-com] for 
reporting. 

We'd need to build test that exhibit the issue in 
https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/test/java/org/apache/sling/distribution/packaging/impl/SimpleDistributionPackageTest.java
 and use another separator or escape it.


was (Author: marett):
Ah, you are right. Thanks [~akp-adobe-com] for reporting. We'd need to build 
test that exhibit the issue in 
https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/test/java/org/apache/sling/distribution/packaging/impl/SimpleDistributionPackageTest.java
 and use another separator.

> A comma in node name causes Sling Content Distribution to fail
> --------------------------------------------------------------
>
>                 Key: SLING-9873
>                 URL: https://issues.apache.org/jira/browse/SLING-9873
>             Project: Sling
>          Issue Type: Bug
>          Components: Content Distribution
>    Affects Versions: Content Distribution Core 0.4.2
>            Reporter: Rahul Bhardwaj
>            Assignee: Timothee Maret
>            Priority: Major
>             Fix For: Content Distribution Core 0.4.6
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Sling content distribution uses comma as a path delimiter [0]but comma is a 
> valid jcr character name and hence must not be used as a path delimiter. 
> Usage of a comma in name breaks Delete operation of forward replication. 
> [0] - 
> https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src/main/java/org/apache/sling/distribution/packaging/impl/SimpleDistributionPackage.java#L101



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to