[
https://issues.apache.org/jira/browse/SLING-11467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17642396#comment-17642396
]
Konrad Windszus commented on SLING-11467:
-----------------------------------------
Why does
https://developer.adobe.com/experience-manager/reference-materials/spec/javax.jcr/javadocs/jcr-2.0/javax/jcr/Node.html#setPrimaryType(java.lang.String)
not work?
> support to update existing paths via repoinit statement
> -------------------------------------------------------
>
> Key: SLING-11467
> URL: https://issues.apache.org/jira/browse/SLING-11467
> Project: Sling
> Issue Type: Improvement
> Components: Repoinit
> Reporter: Darshan Mahor
> Priority: Major
>
> As of now we can't update the path if it already exists in repository[1] via
> repoinit statements like update primary type etc. This request is to support
> the mechanism via which we can modify/update the existing paths with the
> update/modification provided in repoinit statement. e.g. lets suppose we have
> a path in repostiory /content/test/testchild(nt:folder) and we want to
> modify it to /content/test/testchild(sling:Folder).
>
> [1].
> [https://github.com/apache/sling-org-apache-sling-jcr-repoinit/blob/master/src/main/java/org/apache/sling/jcr/repoinit/impl/AclVisitor.java#L189]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)