While I was trying to write a client library to interface with CMIS
through the AtomPub interface I encountered a few issues in OpenCMIS.
(issues are not numbered in the same way as the patches)
For example I could not check in a document with the checkin parameter
that is specified in the CMIS specification (paragraph 3.20.3.2)
because the opencmis atom server expected a checkIn parameter (it
might be better for the server to check for parameters in a case
insensitive manner).
The version-history link also did not work because the ID expected by
the InMemoryVersioningService was the ID of the version series, while
the ID in the atom link was that of the document itself (I changed the
server to accept such links instead of changing the generated Atom
links, because it did not seem to be possible to do this in a backend
agnostic way).
The third change is not to provide rel="via" links if the document is
not a PWC (this is in line with the specification, no "via" link is
mentioned for normal document entries).
A fourth change is to return the actual PWC objects in the checkedout
collection, I did not test this for the cases where a folderId is
given. I don't find this in the spec, but this article:
https://www.ibm.com/developerworks/xml/library/x-cmis1/ claims that it
should return the actual PWCs.

Kr,
Joeri

Reply via email to