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 "Mete Atamel (JIRA)" <ji...@apache.org> on 2012/10/19 09:34:03 UTC

[jira] [Commented] (OAK-381) Adding a property twice should throw an exception

    [ https://issues.apache.org/jira/browse/OAK-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479691#comment-13479691 ] 

Mete Atamel commented on OAK-381:
---------------------------------

Obsolete due to OAK-384.
                
> Adding a property twice should throw an exception
> -------------------------------------------------
>
>                 Key: OAK-381
>                 URL: https://issues.apache.org/jira/browse/OAK-381
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>            Reporter: Mete Atamel
>            Priority: Minor
>
> Try adding the same property twice in MicroKernelImpl like this:
> mk.commit("/", "+\"a/key1\" : \"value1\"", null, null);
> mk.commit("/", "+\"a/key1\" : \"value1\"", null, null);
> This should throw an exception as key1 already exists in the second commit but it doesn't.

--
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