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 "Marcel Reutegger (Jira)" <ji...@apache.org> on 2019/10/10 16:27: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 ]

Marcel Reutegger updated OAK-8691:
----------------------------------
        Fix Version/s: 1.20.0
    Affects Version/s: 1.10.0
                       1.12.0
                       1.14.0
                       1.16.0
               Labels: candidate_oak_1_10  (was: )

> 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
>              Labels: candidate_oak_1_10
>             Fix For: 1.20.0
>
>
> 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)