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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/12/18 15:22:08 UTC
[jira] [Resolved] (OAK-552) AssertionError in MicroKernel.commit()
[ 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)