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

Attachment history is lost after rename

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 14.2-rc-1
    • 14.0
    • None
    • Windows 11 Pro 64 bit, Chrome 98, using a local instance of XWiki 14.0 on Oracle 19c, Tomcat 9.0.58
    • Unit, Integration
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      STEPS TO REPRODUCE

      1. On a page, attach a file (e.g. a text file with some content)
      2. Upload a file with same name, but modified content, so the Attachment History has 2 versions of the file (1.1 and 1.2)
      3. Rename the attachment

      EXPECTED RESULTS

      After the rename, the attachment history is preserved.

      ACTUAL RESULTS

      The attachment history is lost, only the last version (displayed as 1.1) is shown.  Note: the history is accessed by clicking on the version numbers aside the attachment name in the attachments pane.

      Should be mentioned that after rename, the most recent version of the file is displayed (as expected).

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: