[dna-issues] [JBoss JIRA] Commented: (DNA-369) Nodes Can Be Saved Without Mandatory Properties or Child Nodes Present

Randall Hauch (JIRA) jira-events at lists.jboss.org
Thu Apr 23 14:46:40 EDT 2009


    [ https://jira.jboss.org/jira/browse/DNA-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12464163#action_12464163 ] 

Randall Hauch commented on DNA-369:
-----------------------------------

Applied the patches from this issue and DNA-365.  Unfortunately, they couldn't easily be applied separately.

Note that several TCK unit tests had to be commented out (relative to the patch), since they must be testing behavior that is not yet committed to trunk.  (There were a few regressions, but it looks like they're actually related to DNA-374.)

> Nodes Can Be Saved Without Mandatory Properties or Child Nodes Present
> ----------------------------------------------------------------------
>
>                 Key: DNA-369
>                 URL: https://jira.jboss.org/jira/browse/DNA-369
>             Project: DNA
>          Issue Type: Bug
>            Reporter: Brian Carothers
>             Fix For: 0.4
>
>         Attachments: DNA-369.patch, DNA-369_AbstractJcrNode.patch, DNA-369_works.patch
>
>
> Item.save() (or Session.save()) should throw a ConstraintViolationException if any of the items to be saved is missing a mandatory property or child node (per section 7.1.1.6 and SessionTest.testSaveConstraintViolationException in the JR TCK tests)

-- 
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