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/12/12 20:52:20 UTC

[jira] [Commented] (OAK-503) Microkernel.commit throws AssertionError

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

Mete Atamel commented on OAK-503:
---------------------------------

Merged the fix to MongoMK with rev 1420934.
                
> Microkernel.commit throws AssertionError
> ----------------------------------------
>
>                 Key: OAK-503
>                 URL: https://issues.apache.org/jira/browse/OAK-503
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>            Reporter: Michael Dürig
>            Assignee: Stefan Guggisberg
>             Fix For: 0.6
>
>
> {code}
> mk.commit("/", "q", null, null);
> {code}
> results in 
> {code}
> java.lang.AssertionError: token type: 7
> 	at org.apache.jackrabbit.mk.core.MicroKernelImpl.commit(MicroKernelImpl.java:486)
> 	at org.apache.jackrabbit.oak.kernel.KernelNodeStateTest.testGetProperty(KernelNodeStateTest.java:78)
> {code}
> whereas it should probably better throw an {{IllegalArgumentException}}.

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