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)

Reply via email to