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

Error when using compare feature in history when an attachment is deleted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9.11.4
    • Fix Version/s: 9.11.8
    • Component/s: Old Core
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Hello,

      On a page with some attachments, I delete one and going to page history, select current version and previous version, click on "Compare selected version" then xwiki displayed this error message:
      “Error while evaluating velocity template changesdoc.vm”

      at 95:/skins/flamingo/view.vm[line 111, column 38]
      ...
      	... 153 more
      Caused by: com.xpn.xwiki.XWikiException: Error number 3002 in 3: The attachment could not be found in the filesystem attachment store (/xxx/data_xwiki/storage/xwiki/Encyclop%C3%A9die/Outils+du+g%C3%A9nie+logiciel/Le+DevOps+au+CPII/WebHome/~this/attachments/agilite_si.svg/agilite_si.svg).

       More details on xwiki forum: https://forum.xwiki.org/t/error-while-evaluating-velocity-template-changesdoc-vm-on-xwiki-9-11-4/3864

      Ty

      Pascal B

        Attachments

          Activity

            People

            • Assignee:
              surli Simon Urli
              Reporter:
              Pbas Pascal BASTIEN
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: