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

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

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

                Dates

                • Created:
                  Updated:
                  Resolved: