Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-458

SetAndDeleteContentTest does not properly support repositories that only allow to update the current version of a document

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenCMIS 0.5.0
    • Fix Version/s: OpenCMIS 0.6.0
    • Component/s: tck
    • Labels:
      None

      Description

      The specification states that a repository may create a new document version when a contentStream is deleted.

      SetAndDeleteContentTest does not handle this scenario, therefore if the repository does create a new version when a contentStream is deleted and does not support the update of a document that is not the current version, the test will fail (because setContentStream() will be called on a previous document version, the one prior to the deleteContentStream call).

        Activity

        Hide
        cmoitrier Cedric Moitrier added a comment -

        Still not working because setContentStream is not called on the latest version of the document.

        In my scenario, the latest version would be the one whose identifier is returned by deleteContentStream, but the test does call setContentStream on the original document.

        Show
        cmoitrier Cedric Moitrier added a comment - Still not working because setContentStream is not called on the latest version of the document. In my scenario, the latest version would be the one whose identifier is returned by deleteContentStream, but the test does call setContentStream on the original document.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development