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

after a non-committed session.move, the session.nodeExists() and getNode() are not symmetric

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.10
    • core, jcr
    • None

    Description

      After a move of a Node from path /a to /b, that is not commited,
      session.nodeExists(/a) is true (OAK-1039) the successive call to session.getNode(/a) throws PathNotFoundException

      session.move(source, destination)
      if (session.nodeExists(source)) {
          session.getNode(source) <= PathNotFoundException
      }
      

      Attachments

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              chkeller Christan Keller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: