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

Node#setPrimaryType(String) does not create child nodes defined as autoCreated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.12.0
    • 1.10.3, 1.14.0, 1.8.17
    • jcr
    • None

    Description

      In contrast to Node#addNode(String, String), Node#setPrimaryType(String) does not create child nodes that are defined as autoCreated. See attached failing test case.

      Attachments

        1. oak-8232.patch
          2 kB
          Manfred Baedke
        2. oak-8232-testcase.patch
          2 kB
          Manfred Baedke

        Issue Links

          Activity

            People

              baedke Manfred Baedke
              baedke Manfred Baedke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: