Ivan Vasyliev created CMIS-637:
----------------------------------
Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira