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
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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira