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

Attachment version is incremented when a document is rolled back even if the attachment did not change

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2-milestone-1
    • Fix Version/s: 5.2-milestone-2
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Development Priority:
      High
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Follow this steps to reproduce:

      • create a new page (v1.1)
      • attach a file (v2.1)
      • edit the page (v3.1)
      • edit again the page (v4.1)
      • revert to v3.1

      As a result the attachment version becomes 1.2 even though the attachment did not change between v3.1 and v4.1 of the document.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: