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/02/08 11:53:13 UTC
[jira] [Reopened] (OAK-614) AssertionError in MemoryNodeBuilder
[ https://issues.apache.org/jira/browse/OAK-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig reopened OAK-614:
-------------------------------
The fix doesn't include stale builders.
> AssertionError in MemoryNodeBuilder
> -----------------------------------
>
> Key: OAK-614
> URL: https://issues.apache.org/jira/browse/OAK-614
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 0.7
>
>
> {code}
> NodeBuilder root = ...
> NodeBuilder child = root.child("new");
> root.removeNode("new");
> child.getChildNodeCount();
> {code}
> The last line throws an {{AssertionError}} when no node named "new" existed initially. It throws an {{IllegalStateException}} as expected otherwise.
--
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