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 "Julian Reschke (Jira)" <ji...@apache.org> on 2019/11/22 11:00:00 UTC
[jira] [Updated] (OAK-8691) Incorrect base state from node builder
[ https://issues.apache.org/jira/browse/OAK-8691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated OAK-8691:
--------------------------------
Labels: (was: candidate_oak_1_10)
> Incorrect base state from node builder
> --------------------------------------
>
> Key: OAK-8691
> URL: https://issues.apache.org/jira/browse/OAK-8691
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: documentmk
> Affects Versions: 1.10.0, 1.12.0, 1.14.0, 1.16.0, 1.18.0
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Major
> Fix For: 1.20.0, 1.10.7
>
>
> The following sequence will give an incorrect base state:
> {noformat}
> NodeState s1 = ...;
> NodeBuilder b1 = s1.builder();
> b1.child("foo");
> NodeState s2 = b1.getNodeState();
> NodeBuilder b2 = s2.builder();
> NodeState base = b2.getBaseState();
> {noformat}
> The NodeState {{base}} should reflect {{s2}}, but instead is equal to {{s1}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)