Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8691

Incorrect base state from node builder

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0, 1.12.0, 1.14.0, 1.16.0, 1.18.0
    • Fix Version/s: 1.20.0, 1.10.7
    • Component/s: documentmk
    • Labels:
      None

      Description

      The following sequence will give an incorrect base state:

      NodeState s1 = ...;
      NodeBuilder b1 = s1.builder();
      b1.child("foo");
      NodeState s2 = b1.getNodeState();
      NodeBuilder b2 = s2.builder();
      NodeState base = b2.getBaseState();
      

      The NodeState base should reflect s2, but instead is equal to s1.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mreutegg Marcel Reutegger
                Reporter:
                mreutegg Marcel Reutegger
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: