cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading documents using cmis lib and python script

prasobhraj
Star Contributor
Star Contributor
Hi,

I am uploading documents to alfresco using cmislib python. the same documents is used for wrokflows. in workflow i am updating the properties of document. But the document uploaded using the cmislib throwing an error

"071734568 Failed to execute transaction-level behaviour public abstract org.alfresco.repo.node.NodeServicePolicies$OnUpdatePropertiesPolicy.onUpdateProperties(org.alfresco.service.cmr.repository.NodeRef,java.util.Map,java.util.Map) in transaction 19271184-99fd-46f0-9dbe-732c32e09acb"

when i did the task using same user(which i used to upload document by cmis) it shows no error.

if we upload directly the document to alfresco by any user then any user can do the task and properties are getting updated also.



3 REPLIES 3

prasobhraj
Star Contributor
Star Contributor
when i checked the properties of the document uploaded by cmislib with a normal upload the below was found
cmis:checkinComment: Initial Version
In normal upload it is cmis:checkinComment: None.

Versioning is happening whenever a change is done to the document, means for eg: if one of the property edited then a new version is created automatically. Please help me to sort this out

jpotts
World-Class Innovator
World-Class Innovator

Are you still having this problem? If so, can you share the code you are using as well as the versions of Alfresco and cmislib and the service URL you are hitting?

This is resolved in latest versions