Uploading documents using cmis lib and python script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 03:03 AM
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.
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.
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 10:25 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2016 02:53 PM
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?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2018 06:13 AM
This is resolved in latest versions
