jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (OAK-552) AssertionError in MicroKernel.commit()
Date Wed, 18 Dec 2013 14:22:08 GMT

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

Michael Dürig resolved OAK-552.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.14

> AssertionError in MicroKernel.commit()
> --------------------------------------
>
>                 Key: OAK-552
>                 URL: https://issues.apache.org/jira/browse/OAK-552
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>            Reporter: Michael Dürig
>             Fix For: 0.14
>
>
> {code}
> mk.commit("", "-\"/x/\"", null, null);
> {code}
> results in 
> {code}
> java.lang.AssertionError
> 	at org.apache.jackrabbit.oak.commons.PathUtils.concat(PathUtils.java:277)
> 	at org.apache.jackrabbit.mk.core.MicroKernelImpl.commit(MicroKernelImpl.java:437)
> 	at org.apache.jackrabbit.mk.MicroKernelImplTest.foo(MicroKernelImplTest.java:424)
> {code}
> since according to {{PathUtils}} {{/x/}} is not a valid path. 
> The commit method should throw an {{IllegalArgumentException}} instead.



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

Mime
View raw message