You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "linzhixing (JIRA)" <ji...@apache.org> on 2015/08/16 20:51:46 UTC

[jira] [Created] (CMIS-935) TCK VersioningSmokeTest tries to checkout the same document

linzhixing created CMIS-935:
-------------------------------

             Summary: TCK VersioningSmokeTest tries to checkout the same document
                 Key: CMIS-935
                 URL: https://issues.apache.org/jira/browse/CMIS-935
             Project: Chemistry
          Issue Type: Bug
    Affects Versions: OpenCMIS 0.13.0
            Reporter: linzhixing
            Priority: Minor


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);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)