]
Brian Carothers updated DNA-377:
--------------------------------
Attachment: DNA-377.patch
Patch adds case to handle relative path consisting of exactly 2 segments.
AbstractJcrNode.addNode(String relPath) Throws Wrong Exception if
relPath Has Form PropertyName/NodeName
--------------------------------------------------------------------------------------------------------
Key: DNA-377
URL:
https://jira.jboss.org/jira/browse/DNA-377
Project: DNA
Issue Type: Bug
Components: JCR
Affects Versions: 0.3
Reporter: Brian Carothers
Attachments: DNA-377.patch
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: