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

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1 M4
    • 1.0
    • {Unused} Core
    • None
    • versions

    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

        1. XWIKI-1582.patch
          3 kB
          Artem Melentev
        2. XWIKI-1582-r1.patch
          2 kB
          Artem Melentev

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: