Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-401

AbstractJcrNode.addNode(String relPath) Throws Wrong Exception if relPath Has Form PropertyName/NodeName

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 0.4
    • 0.3
    • JCR
    • None

    Description

      The TCK test NodeTest.testAddNodeConstraintViolationExceptionProperty fails because DNA throws a PathNotFoundException instead of a ConstraintViolationException when the test attempts to add a child node at the relative path "prop1/node2". By spec, DNA needs to throw a ConstraintViolationException if relPath contains a property. However, DNA currently only checks for the existence of a property if the relative path has more than 2 segments.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            bcarothers_jira Brian Carothers (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: