[
https://issues.apache.org/jira/browse/OAK-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig resolved OAK-614.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.7
Assignee: Michael Dürig
Fixed at revision 1443551
> 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