You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/12/09 18:22:00 UTC

[jira] [Resolved] (SLING-10986) Sling-Initial-Content overwrite never touches target path but only nodes below

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

Konrad Windszus resolved SLING-10986.
-------------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/sling-org-apache-sling-jcr-contentloader/commit/b5774b585ef564f1a8a6fd3493e7318eed2d9200.

> Sling-Initial-Content overwrite never touches target path but only nodes below
> ------------------------------------------------------------------------------
>
>                 Key: SLING-10986
>                 URL: https://issues.apache.org/jira/browse/SLING-10986
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: JCR ContentLoader 2.4.2
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: JCR ContentLoader 2.4.4
>
>
> Contrary to the documentation at https://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html which states that
> bq. The overwrite directive specifies if content nodes should be overwritten (at the target repository path, which is "/" by default) or just initially added. If this is true, existing nodes are deleted and a new node is created in the same place. 
> only nodes *_below_* the target path are currently touched but never the node at target path. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)