Creating document without version via CMIS
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2014 04:57 PM
Hi,
This may be a duplicated question but since I have not found the answer, if anyone have the answer or can point me to the topic with the answer that I'm looking for, Im greatly appreciated.
I have tried to send CMIS requests to create a document using AtomPub as well as WebServices. The results were different were inconsistent as in the table below:
I'm puzzled that via AtomPub connection without versionable set on the Alfresco, it fails. But using WebServices it works but sets version 1.0.
What would be the correct behaviour?
I was expecting both connections have same behavior but obviously not. And if versionable is not set, the document should get created without version, but it's not.
I'm currently using Alfresco Enterprise v4.1.5. Should a newer version work as expected manner?
I'd greatly appreciated if anyone can shed a light on this.
Thank you in advance.
This may be a duplicated question but since I have not found the answer, if anyone have the answer or can point me to the topic with the answer that I'm looking for, Im greatly appreciated.
I have tried to send CMIS requests to create a document using AtomPub as well as WebServices. The results were different were inconsistent as in the table below:
| Web services | AtomPub || w/o versionable | w/ versionable | w/o versionable | w/ versionable || Version 1.0 created | Version 0.1 created | Error: This document type is versionable | Error: This document type is versionable |
I'm puzzled that via AtomPub connection without versionable set on the Alfresco, it fails. But using WebServices it works but sets version 1.0.
What would be the correct behaviour?
I was expecting both connections have same behavior but obviously not. And if versionable is not set, the document should get created without version, but it's not.
I'm currently using Alfresco Enterprise v4.1.5. Should a newer version work as expected manner?
I'd greatly appreciated if anyone can shed a light on this.
Thank you in advance.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2014 05:27 PM
IIRC. Cmis specifies documents are versioned. That should be for all bindings.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2014 08:59 AM
mrogers, thank you for your reply.
Do you suggest that we should avoid sending requests for creating document without version to Alfresco servers, or are the behaviors using those bindings as expected even those they are not consistent?
Additionally, does Alfresco support creating a document without version? This is because that specifying versionable does not eem to have any effect at least with the version I'm using.
Thank you.
Do you suggest that we should avoid sending requests for creating document without version to Alfresco servers, or are the behaviors using those bindings as expected even those they are not consistent?
Additionally, does Alfresco support creating a document without version? This is because that specifying versionable does not eem to have any effect at least with the version I'm using.
Thank you.
