[dna-issues] [JBoss JIRA] Resolved: (DNA-349) AbstractJcrNode.addNode Does Not Add jcr:uuid Property if Primary Type Extends mix:referenceable

Randall Hauch (JIRA) jira-events at lists.jboss.org
Mon Apr 13 15:29:22 EDT 2009


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

Randall Hauch resolved DNA-349.
-------------------------------

    Fix Version/s: 0.4
       Resolution: Done
         Assignee: Randall Hauch


Applied the patch, which works as is.

> AbstractJcrNode.addNode Does Not Add jcr:uuid Property if Primary Type Extends mix:referenceable
> ------------------------------------------------------------------------------------------------
>
>                 Key: DNA-349
>                 URL: https://jira.jboss.org/jira/browse/DNA-349
>             Project: DNA
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: 0.3
>            Reporter: Brian Carothers
>            Assignee: Randall Hauch
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: DNA-349.patch
>
>
> If a node is loaded from the repository with a primary type that has mix:referenceable as a supertype, the mandatory, protected jcr:uuid property is properly set.  If a new node is added with the same primary type, the jcr:uuid property is not set.  
> When the TCK tests are changed to use a default node type which has mix:referenceable as a supertype (which must be done to make the tests in SetValueNodeTest pass), this issue causes NodeAddMixinTest.testAddMixinReferenceable to fail.

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