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

Abul Qasim K P commented on SLING-9873:
---------------------------------------

[~marett], As part of the fix provided here, ":" is used as delimiter. But ":" 
is a valid delimiter in jcr node name. Eg : /content/cq:tags, jcr:content, 
sling:members etc. 

Hence changes in 
[https://github.com/apache/sling-org-apache-sling-distribution-core/blob/master/src%5b%E2%80%A6%5dling/distribution/packaging/impl/SimpleDistributionPackage.java]
  (Line 109) is blocking SCD if user performs delete which has ":" in the path 
(eg: collection member delete, path will be 
/content/dam/collections/N/NRbODwk_HsVaWt-qSMmj/lightbox/sling:members

 

What should be next step to resolve this blocker?

> 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