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

Incorrect base state from node builder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.10.0, 1.12.0, 1.14.0, 1.16.0, 1.18.0
    • 1.20.0, 1.10.7
    • documentmk
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: