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

When using filesystem attachments with attachment versioning disabled, deleted attachments are duplicated on the hard disk.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.2 M2
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      to repeat:
      in xwiki.cfg set:

      #-# The attachment storage.
      xwiki.store.attachment.hint=file
      #-# The document versioning storage.
      # xwiki.store.versioning.hint=default
      #-# The attachment versioning storage. Use 'void' to disable attachment versioning.
      xwiki.store.attachment.versioning.hint=void
      #-# The document recycle bin storage.
      # xwiki.store.recyclebin.hint=default
      #-# The attachment recycle bin storage.
      xwiki.store.attachment.recyclebin.hint=file
      

      Upload an attachment an delete it

      Observe there are 2 files in deleted-attachments directory on the filesystem.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                calebjamesdelisle CalebJamesDeLisle
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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