Chemistry
  1. Chemistry
  2. CMIS-181

Correct version history link in Atom binding

    Details

      Description

      Reported by Joeri Samson:
      The version-history link also did not work because the ID expected by the InMemoryVersioningService was the ID of the version series, while the ID in the atom link was that of the document itself (I changed the server to accept such links instead of changing the generated Atom links, because it did not seem to be possible to do this in a backend agnostic way.

        Activity

        David Caruana made changes -
        Fix Version/s opencmis-0.1.0-incubating [ 12315133 ]
        Jens Hübel made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Joeri Samson added a comment - - edited

        In the spec it only says that the version-history link must point to a feed with all the versions of a document. It doesn't say that feeds must have only 1 URL (unless this is implied by the Atom spec?), it also does not mention the version series id in relation to the version-history link

        Show
        Joeri Samson added a comment - - edited In the spec it only says that the version-history link must point to a feed with all the versions of a document. It doesn't say that feeds must have only 1 URL (unless this is implied by the Atom spec?), it also does not mention the version series id in relation to the version-history link
        Hide
        Jens Hübel added a comment -

        The id in the link must according to spec be the version series id. This needs to be adapted in the ObjectInfo class.

        Show
        Jens Hübel added a comment - The id in the link must according to spec be the version series id. This needs to be adapted in the ObjectInfo class.
        Jens Hübel created issue -

          People

          • Assignee:
            Jens Hübel
            Reporter:
            Jens Hübel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development