[dna-issues] [JBoss JIRA] Created: (DNA-356) Need to Throw ItemExistsException if addNode Call Fails Due to SNS

Brian Carothers (JIRA) jira-events at lists.jboss.org
Wed Apr 15 14:17:22 EDT 2009


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

        



More information about the dna-issues mailing list