You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2017/03/24 13:18:42 UTC

[jira] [Resolved] (CMIS-637) Redundant mix:created on jcr:content node

     [ https://issues.apache.org/jira/browse/CMIS-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-637.
---------------------------------
    Resolution: Won't Fix

The JCR module is discontinued.

> Redundant mix:created on jcr:content node
> -----------------------------------------
>
>                 Key: CMIS-637
>                 URL: https://issues.apache.org/jira/browse/CMIS-637
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-server-jcr
>    Affects Versions: OpenCMIS 0.9.0 beta 1
>            Reporter: Ivan Vasyliev
>
> There is an inconsistency in mapping of nt:file to cmis:document:
> [DefaultDocumentIdentifierMap|https://github.com/apache/chemistry-opencmis/blob/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/impl/DefaultDocumentIdentifierMap.java#L33]
> [mix:created to content node|https://github.com/apache/chemistry-opencmis/blob/trunk/chemistry-opencmis-server/chemistry-opencmis-server-jcr/src/main/java/org/apache/chemistry/opencmis/jcr/impl/DefaultDocumentTypeHandler.java#L163]
> According to nt:file spec there must be something [like this|https://issues.jboss.org/browse/MODE-1680?focusedCommentId=12760398&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12760398]:
> {code:xml}
> + myFile  (jcr:primaryType=nt:file,
>    |        jcr:created=<date>, 
>    |        jcr:createdBy=<username>)
>    + jcr:content  (jcr:primaryType=nt:resource, 
>                    jcr:lastModified=<date>, 
>                    jcr:lastModifiedBy=<username>,
>                    jcr:mimeType=<mimeType>, 
>                    jcr:encoding=<null>, 
>                    jcr:data=<binary-content>)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)