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 Bug
    • Status: Resolved
    • Priority: Major 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

        Cedric Moitrier created issue -
        Florian Müller made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Florian Müller [ fmui ]
        Fix Version/s OpenCMIS 0.6.0 [ 12317858 ]
        Resolution Fixed [ 1 ]
        Hide
        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
        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.
        Cedric Moitrier made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Florian Müller made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development