[dna-issues] [JBoss JIRA] Updated: (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:20:34 EDT 2009


     [ https://jira.jboss.org/jira/browse/DNA-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Carothers updated DNA-356:
--------------------------------

    Attachment: DNA-356.patch


Added patch that performs additional check to see if node definition lookup failed solely due to lack of SNS-allowed definition.

> 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
>         Attachments: DNA-356.patch
>
>
> 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