You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2013/08/21 16:46:51 UTC
[jira] [Updated] (OAK-974) Node#addNode throws ItemExistsException
for existing node
[ https://issues.apache.org/jira/browse/OAK-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Sanso updated OAK-974:
------------------------------
Attachment: OAK-974-patch.txt
attaching unit test
> Node#addNode throws ItemExistsException for existing node
> ---------------------------------------------------------
>
> Key: OAK-974
> URL: https://issues.apache.org/jira/browse/OAK-974
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: jcr
> Reporter: Antonio Sanso
> Attachments: OAK-974-patch.txt
>
>
> Node#addNode throws ItemExistsException for existing node .
> e.g.
> {code}
> session.getRootNode().addNode("foo");
> session.save();
> session.getRootNode().addNode("foo");
> {code}
> This is not the case for Jackrabbit
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira