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

Wrong content of attachment when rolling back a page on Windows

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.11.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Windows 10 Pro 64 bit, IE11, using a local instance of XWiki 10.11.6 on PostgreSQL 11
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      STEP TO REPRODUCE

      1. Create a page
      2. Edit the page and insert an attachment (e.g. a picture file)
      3. Make two more edits to the page
      4. Update the attachment revision (upload a different attachment with same name)
      5. Go to History tab
      6. Rollback to a page revision between when the attachment was first attached and when it was updated (e.g. page version 3.1)

      EXPECTED RESULTS

      The attachment shows version 1.3 and has the content of attachment version 1.1.

      ACTUAL RESULTS

      After the rollback, the attachment version 1.3 has the content of attachment version 1.2.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                iandriuta Ilie Andriuta
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: