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

o.a.j.o.api.Tree/Root allows access to hidden nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.17
    • core
    • None

    Description

      It's possible to access hidden nodes by using the Tree/Root class.

      Using something like

      o.a.j.o.a.Root root = ...;
      Tree hidden = root.getTree("/oak:index/test-index/:index");
      for(Tree t : hidden.getChildren()){
         System.out.println(t);
      }
      

      will dump something like

      /oak:index/test-index/:index/value049: { :next = , test = { ... } }
      /oak:index/test-index/:index/value009: { :next = value010, test = { ... } }
      /oak:index/test-index/:index/value046: { :next = value047, test = { ... } }
      /oak:index/test-index/:index/value045: { :next = value046, test = { ... } }
      

      Attachments

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              edivad Davide Giannella
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: