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

Default history (without minor) is displaying mostly minor versions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 10.1, 9.11.3
    • Old Core
    • None
    • Unknown

    Description

      There is a major inconsistency in the way the history of a document is filtered when minor versions are hidden.

      The compacted history displayed is actually displaying the latest minor of a major version. This would have a meaning if the latest minor was really a major version, but this not the way XWiki works. So, the compacted history is actually displaying version that user has marked minor, which mostly means, please hide this !

      This is also linked to the behavior of the save & continue, minor checkbox and save and view button that link minor version to the previous major. So, if you check the way a document is used and saved, you will notice that the compacted history is actually hiding what the user consider major.

      Example of an edition:

      1.1 First version of the document
      (This one is not clearly minor or major in the end, behaviors of the save & continue / save & view are the same)
      1.2 to 1.n The user is saving a work in progress (save & continue, or save & view with minor checked)
      2.1 The user saved his finished work (save & view)
      2.2 to 2.n Minor fixes are applied to 2.1
      2.n+1 to 2.m Starting over with a new work in progress that will end up has 3.1

      So, according to the above behavior, what should be shown by the compacted history is clearly the x.1 versions, so the first minor of each major, and not the last one. With our current implementation, what leads to the x.1 version are (x-1).y versions with y > 1.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              softec Denis Gervalle
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: