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 2023/01/12 16:11:00 UTC

[jira] [Resolved] (SLING-10463) Repoinit fails to create node if property already exists at the same path

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

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

Fixed implicitly via SLING-11736 through new instruction "ensure nodes" which bails out in case a property with the same name exists already.

> Repoinit fails to create node if property already exists at the same path
> -------------------------------------------------------------------------
>
>                 Key: SLING-10463
>                 URL: https://issues.apache.org/jira/browse/SLING-10463
>             Project: Sling
>          Issue Type: Bug
>          Components: Repoinit
>            Reporter: Tom Blackford
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: Repoinit JCR 1.1.44
>
>         Attachments: SLING-10463.patch
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> If a property already exists at the path of a node described in repoinit, then the repoinit will incorrectly assume the node does not need to be created. 
> Test case & fix -  [^SLING-10463.patch] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)