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

Node type selection for CanAddChildNodeCallWithNodeTypeTest#testResidualAndLegalType is not optimal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7
    • jackrabbit-jcr-tests
    • None

    Description

      Similar to JCR-3524, the node type selection for this test is influenced by the underlying storage.
      It can choose the fist node type even if that is invalid for the purpose of the test and fail the test.

      For example running against an Oak backend the test can choose nt:folder as a parent and nt:hierarchyNode as a child, but because nt:hierarchyNode is abstract it cannot be used, so the test fails for the wrong reason.

      Attachments

        1. JCR-3528.patch
          7 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              stillalex Alex Deparvu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: