[dna-issues] [JBoss JIRA] Created: (DNA-304) SessionCache Uses Graph Layer Cardinality for Properties Instead of Cardinality from JCR Property Definition

Brian Carothers (JIRA) jira-events at lists.jboss.org
Tue Mar 17 10:39:22 EDT 2009


SessionCache Uses Graph Layer Cardinality for Properties Instead of Cardinality from JCR Property Definition
------------------------------------------------------------------------------------------------------------

                 Key: DNA-304
                 URL: https://jira.jboss.org/jira/browse/DNA-304
             Project: DNA
          Issue Type: Bug
          Components: JCR
    Affects Versions: 0.4
            Reporter: Brian Carothers


At the graph layer, property cardinality (whether the property is single- or multi-valued) is determined based on the values set on the property (i.e., any property with only one value is single-valued, any property with more than one value is multi-valued).   At the JCR layer, property cardinality is supposed to be based on the property definition in use for the property.  

The SessionCache is currently basing the JCR layer cardinality on the graph layer cardinality instead of the JCR property definition.  

Example:
Consider a node that has one value for jcr:mixinTypes.  At the graph layer, this property will be single-valued.  At the JCR layer, this property should be multi-valued based on the jcr:mixinTypes property definition from the nt:base type (which is inherited by all nodes).

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