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

An attachment which is saved twice in the same transaction becomes corrupted if saved in FS attachment store.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.3-milestone-1
    • 4.2-rc-1
    • Storage
    • None
    • Unit
    • Unknown
    • n/a
    • n/a

    Description

      FS attachment store uses a 2 stage transaction scheme which is intended to properly handle all possible error conditions. What was forgotten was the possibility that an attachment would be saved twice in the same transaction, this causes a conflict between temporary files which the machine attempts to rename and delete twice.

      Attachments

        Issue Links

          Activity

            People

              calebjamesdelisle CalebJamesDeLisle
              calebjamesdelisle CalebJamesDeLisle
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: