Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20815

The REST API always returns objects from the current instead of the given revision

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 14.10.9, 15.3
    • 2.1 RC1
    • REST
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      The ObjectsAtPageVersionResource in the REST API at the URL "/wikis/{wikiName}/spaces/{spaceName: .+}/pages/{pageName}/history/{version}/objects" always returns object summaries for the current revision of the document, not the specified revision.

      This bug was introduced in a refactoring in https://github.com/xwiki/xwiki-platform/commit/c9fb2eaf.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: