Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-485

VersoingStateCreateTest fails with "Property not set"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • OpenCMIS 0.7.0
    • opencmis-tck
    • 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.

      Attachments

        Activity

          People

            fmui Florian Müller
            cmoitrier Cedric Moitrier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: