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

AbstractJCRTest.cleanUpTestRoot() does not properly set testNodeType

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7.1
    • Component/s: jackrabbit-jcr-tests
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: