chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "linzhixing (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-935) TCK VersioningSmokeTest tries to checkout the same document
Date Sun, 16 Aug 2015 18:51:46 GMT
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)

Mime
View raw message