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

Claus Ibsen resolved CAMEL-7064.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.13.0
                   2.12.3
                   2.11.3
         Assignee: Claus Ibsen

Thanks for the patch. I have fixed the CS.

Keep them coming :)

> JcrProducer ignores existing nodes and creates invalid node hierarchies
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-7064
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7064
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jcr
>            Reporter: Gregor Zurowski
>            Assignee: Claus Ibsen
>             Fix For: 2.11.3, 2.12.3, 2.13.0
>
>         Attachments: camel-jcr-existing-nodes.patch
>
>
> The CamelJcrInsert operation of the JcrProducer does not handle existing 
> nodes properly: If some of the nodes already exist within the path provided 
> by the CamelJcrNodeName property, they will be skipped, resulting in the 
> creation of an incorrect node hierarchy. Therefore, JcrProducer only works 
> correctly with newly created node hierarchies.
> E.g.: For the requested path "/exists1/exists2/new-node", JcrProducer will 
> incorrectly create "/new-node" (i.e. directly on root level), given nodes 
> "exists1" and "exists2" do already exist in the repository.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to