[dna-issues] [JBoss JIRA] Resolved: (DNA-482) Make nt:unstructured be the default primary type (but not the required primary type) for the residual item definition in dna:root, the type of the root node

Brian Carothers (JIRA) jira-events at lists.jboss.org
Sun Jul 12 19:40:29 EDT 2009


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

Brian Carothers resolved DNA-482.
---------------------------------

    Resolution: Done
      Assignee: Brian Carothers


Committed patch to resolve defect.  The patch broke two REST tests, so those were modified in the commit as well.

> Make nt:unstructured be the default primary type (but not the required primary type) for the residual item definition in dna:root, the type of the root node
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DNA-482
>                 URL: https://jira.jboss.org/jira/browse/DNA-482
>             Project: DNA
>          Issue Type: Feature Request
>          Components: JCR
>    Affects Versions: 0.6, 1.0, Future Releases
>            Reporter: Serge Emmanuel Pagop
>            Assignee: Brian Carothers
>             Fix For: 0.6
>
>         Attachments: DNA-482.patch
>
>
> I tried some code with the new jcr data mass generator and I got an javax.jcr.nodetype.ConstraintViolationException, because I forgot to include primary type nt:unstructured during addNode. The same ran well on JR without any setting of primary type nt:unstructured.
> consecution, there is a deviation between the JR impl. behavior and the DNA JRC impl. 

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