Description
mk.commit("", "+\"/root\":{}", null, null); mk.commit("", "+\"/root/N4\":{} *\"/root/N4\":\"/root/N4/N5\"", null, null);
results in a NPE. Doing all operations separately instead gives the wrong result:
mk.commit("", "+\"/root\":{}", null, null); mk.commit("", "+\"/root/N4\":{}", null, null); mk.commit("", "*\"/root/N4\":\"/root/N4/N5\"", null, null);
results in (relative to /root)
{ ":childNodeCount": 1, "N4": { ":childNodeCount": 1, "N5": { ":childNodeCount": 1, "N5": { ":childNodeCount": 0 } } } }
instead of
{ ":childNodeCount": 1, "N4": { ":childNodeCount": 0, "N5": { ":childNodeCount": 0 } } } }