Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
OpenCMIS 0.13.0
-
None
-
None
Description
In VersioningSmokeTest checkOut() method is called for an old document "doc", which is already checked in and became an older version.
This produces CmisVersioningException in my CMIS server saying that the operation is not allowed on a non-current version of a document.
// check out again
153 pwcId = doc.checkOut();
154 pwc = (Document) session.getObject(pwcId, SELECT_ALL_NO_CACHE_OC);
// check out again
167 pwcId = doc.checkOut();
168 pwc = (Document) session.getObject(pwcId, SELECT_ALL_NO_CACHE_OC);