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

TokenProviderImpl.getTokenParent may return non-existing tree

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.5.8, 1.6.0
    • core
    • None

    Description

      while writing additional tests for the TokenProviderImpl I found that getTokenParent in fact return a NodeUtil referring to a non-existing tree as the local tokenParent field doesn't get reset to null if (in case of CommitFailedException an attempt is made to retrieve the parent that may have been created by another session.

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: