Older versions of pages in Version History returns content from the Current Version of page

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      • Older Versions of pages in Version History returns content from the Current Version of page.

      Steps to Reproduce

      1. Create and publish a page with a few lines of text.
      2. Edit and publish the page a few more times;
        • Adding more text, and creating a few Versions of the page.
      3. Check on the Version History, and click on any of the previous version.
      4. The page will load, but shows the content from the current version.

      Expected Results

      • Clicking on a link of previous version in version history should show the contents of the page as it was when that version was published.

      Actual Results

      • The current version of the page is returned when we click on older versions of the page.

      Workaround

      1. The issue appears to be with the URL/link of the versions which all use the same URL, with a version postfix
        • https://<SITE-NAME>.atlassian.net/wiki/spaces/<SPACE-KEY>/pages/<CONTENT-ID>/<TITLE>?pageVersion=5
        • https://<SITE-NAME>.atlassian.net/wiki/spaces/<SPACE-KEY>/pages/<CONTENT-ID>/<TITLE>?pageVersion=4
        • https://<SITE-NAME>.atlassian.net/wiki/spaces/<SPACE-KEY>/pages/<CONTENT-ID>/<TITLE>?pageVersion=3
      2. We can get the correct content to appear for the version by;
        1. In the Version History page, compare the version you want to check, with the current version.
        2. In the Content Comparison page that loads, click on the version number, which will then load the previous version's content in this URL format.
          • https://<SITE-NAME>.atlassian.net/wiki/pages/viewpage.action?pageId=<PREVIOUS-VERSION-CONTENT-ID>

            Assignee:
            Unassigned
            Reporter:
            Sattesh M
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: