VersoingStateCreateTest fails with "Property not set"
-----------------------------------------------------

                 Key: CMIS-485
                 URL: https://issues.apache.org/jira/browse/CMIS-485
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-tck
            Reporter: Cedric Moitrier


Following calls:

1/ testFolder.createDocument(getProperties("major.txt"), getContentStream(), 
VersioningState.MAJOR)
2/ testFolder.createDocument(getProperties("minor.txt"), getContentStream(), 
VersioningState.MINOR)
3/ testFolder.createDocument(getProperties("checkout.txt"), getContentStream(), 
VersioningState.CHECKEDOUT)

should be replaced by:

1/ testFolder.createDocument(getProperties("major.txt"), getContentStream(), 
VersioningState.MAJOR, null, null, null,  SELECT_ALL_NO_CACHE_OC)
2/ testFolder.createDocument(getProperties("minor.txt"), getContentStream(), 
VersioningState.MINOR, null, null, null, SELECT_ALL_NO_CACHE_OC);
3/ testFolder.createDocument(getProperties("checkout.txt"), getContentStream(), 
VersioningState.CHECKEDOUT, null, null, null, SELECT_ALL_NO_CACHE_OC);

in order to fill the new documents with all properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to