Need to Throw ItemExistsException if addNode Call Fails Due to SNS
------------------------------------------------------------------
Key: DNA-356
URL:
https://jira.jboss.org/jira/browse/DNA-356
Project: DNA
Issue Type: Bug
Components: JCR
Affects Versions: 0.3
Reporter: Brian Carothers
Priority: Minor
According to the section 7.1.4 of the 1.0.1 specification (in the documentation for
Node.addNode:)
"An ItemExistsException will be thrown either immediately (by this method), or on
save, if an item at the specified path already exists and same-name siblings are not
allowed."
DNA treats this as a generic case where no valid definition exists and throw a
ConstraintViolationException.
--
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