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] [Created] (OAK-552) AssertionError in MicroKernel.commit()
Date Fri, 11 Jan 2013 10:20:12 GMT
Michael Dürig created OAK-552:

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

mk.commit("", "-\"/x/\"", null, null);

results in 
	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)

since according to {{PathUtils}} {{/x/}} is not a valid path. 

The commit method should throw an {{IllegalArgumentException}} instead.

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

View raw message