Avoid creating document with empty cmis:contenStreamFileName
------------------------------------------------------------

                 Key: CMIS-44
                 URL: https://jira.nuxeo.com/browse/CMIS-44
             Project: Nuxeo Chemistry
          Issue Type: Improvement
            Reporter: Olivier Grisel
            Assignee: Florent Guillaume


Some CMIS clients such as Adobe Drive 2.1 create cmis:document with a content 
stream with the correct payload and mimetype info but leave the 
cmis:contentStreamFileName property empty (the filename of the file in the 
Adobe Drive is mapped to the cmis:name of the document only). In that case 
Nuxeo will create with a mimetype info but without a filename fields. This 
makes the user interface look inconsistent when browsing the content from the 
default JSF UI.

A propose workaround would be to automatically fill the 
cmis:contentStreamFileName from the info coming from the cmis:name (and 
potentially also from the cmis:contentStreamMimeType if the extension is 
missing so as to find a good looking filename consistent with the mimetype 
info).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to