cmis - CmisObjectNotFound ephesoft export to Alfresco -
i'm using ephesoft-community-edition-2.4.0.7 alfresco 4.0 got cmisobjectnotfoundexception when try export uploaded file meta-data.
this log in dcma-all.log
- batchinstanceidentifieridentifier : bi16 inputfilename : bi16_batch.xml outputfilename : pre_state_bi16_batch.xml - copy of file batch instance identifier : bi16 - cmis export plugin. - initializing properties... - cmis: http basic authentication used cmis messaging. determining if target folder "sites" exists within repository folder "/". - folder present - found child folder. folder id workspace://spacesstore/383973c1-0325-408f-8f54-551c9bd86ebc. - determining if target folder "ephesoftintegration" exists within repository folder "/sites". - folder present - found child folder. folder id workspace://spacesstore/5c4c7e20-7148-4c59-a3a8-edd76748aa3d. - determining if target folder "documentlibrary" exists within repository folder "/sites/ephesoftintegration". - folder present - found child folder. folder id workspace://spacesstore/9ecc0217-4e5f-456a-b22c-9cb8b57a4152. - determining if target folder "files" exists within repository folder "/sites/ephesoftintegration/documentlibrary". - folder present - found child folder. folder id workspace://spacesstore/32469808-a4cc-4cf9-acf4-2ab8e9a892a6. - content mime type is: application/pdf - property - keystring : mydoctype , property-value : my:document - {cmis:objecttypeid=my:document, cmis:name=bi16_documentdoc1.pdf} 2016-01-16 16:07:43,662 error - introuvable org.apache.chemistry.opencmis.commons.exceptions.cmisobjectnotfoundexception: introuvable
when dealing alfresco (enabled versioning on files). file created must have document_versioning_state (minor or major), not none default.
so solution modify in ephesoft dcma-cmis.properties file located under c:\ephesoft\application\web-inf\classes\meta-inf\dcma-cmis folder.
this line must
cmis.document_versioning_state=major
Comments
Post a Comment