Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.