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

When comparing changes, version numbers are not correct for documents in the default wiki

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1 M4
    • Component/s: {Unused} Core
    • Labels:
      None
    • keywords:
      versions
    • Similar issues:

      Description

      Steps to reproduce:
      1. Start a fresh version of xwiki and go to http://localhost:8080/xwiki/bin/view/Main/
      2. Edit the page in some way and save
      3. Show the page history and compare the two versions (displayed as 1.1 and 1.2)

      Expected result:
      "From Version 1.1 To 1.2" (Or 1.14 To 1.15 if you imported with preserveVersion)

      Actual result:
      "From Version 1.1 To 1.16"

      Note 1: In the XAR Main.WebHome has version 1.14
      Note 2: Tried this with various files in the default wiki and panels api and they all exhibit this problem. The displayed version number for version 1.2 is always equal to the version number in the XAR + 2. The number for version 1.3 is always equal to the version number in the XAR + 3, etc.

        Attachments

          Activity

            People

            Assignee:
            amelentev Artem Melentev
            Reporter:
            hritcu Catalin Hritcu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: