When creating document by ObjectService createDocument, its path segment takes objectId_documentName format. Other Content Management Systems I have tested (IBM Content Manager, MS SharePoint) using CMIS, make path segment in format documentName, which seems more logical to me.
Sample C# code:
string
cmisObjectId = objectService.createDocument(repositoryId, properties, parentFolderId, contentStream, null, null, null, null, ref extension);
This behavior has side effects:1) When creating document, allways new document is created (with different name). "Document allready exist" scenario never happens. 2) ObjectService getObjectByPath operation will not work as expected. When invoked with parent_folder_path/document_name, it will not return document as expected.