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

Node.addNode(name) different behavior from JR if NodeType resolves to an abstract

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.19
    • Component/s: jcr
    • Labels:
      None

      Description

      In Jackrabbit, if you used node.addNode(name) and the NodeType resolved to an abstract like nt:base Jackrabbit still persisted the new Node.

      In Oak a ConstraintViolationException is thrown.

      While the Oak behavior is fully Spec complient, it still may be a migration issue for JR users.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jukkaz Jukka Zitting
              Reporter:
              chkeller Christan Keller

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment