Make mgnl:resource referenceable to support transition to JCR 2.0
-----------------------------------------------------------------

                 Key: MAGNOLIA-3474
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3474
             Project: Magnolia
          Issue Type: Task
          Components: core
    Affects Versions: 4.4.1
            Reporter: Jan Haderka
            Assignee: Philipp Bärfuss


Magnolia defines {{mgnl:resource}} as 

{{nt:resource}} is in turn defined in JCR 1.0 as 
{noformat}
[nt:resource] > mix:referenceable
- jcr:encoding     (STRING)
- jcr:mimeType     (STRING) mandatory
- jcr:data         (BINARY) mandatory primary
- jcr:lastModified (DATE)   mandatory IGNORE
{noformat}

However JCR 2.0 changes [this 
definition|http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#ntresource] 
to:
{noformat}
[nt:resource] > mix:mimeType, mix:lastModified
primaryitem jcr:data
- jcr:data (BINARY) mandatory
{noformat}

so we need to add {{mix:referenceable}} to {{mgnl:resource}} explicitly to keep 
UUIDs on the binary assets.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to