Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3601

AbstractJCRTest.cleanUpTestRoot() does not properly set testNodeType

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • jackrabbit-jcr-tests
    • None

    Description

      The cleanUpTestRoot() method is supposed to leave the test root in a state as if it was just newly created. If the node already exists, this is done by removing all its children. Unfortunately this risks leaving the node type of the test root unchanged, which can lead to issues like the one we're seeing in OAK-802.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: