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

The fileupload plugin is not using the xwiki temporary directory when xwiki.upload.tempdir is not set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.10
    • Fix Version/s: 12.3-rc-1
    • Component/s: Old Core
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Right now if xwiki.upload.tempdir is not set, then commons fileupload will default to using the java.io.tmpdir system property (which doesn't correspond to xwiki's temporary directory - which uses the servlet tmp dir).

      See https://forum.xwiki.org/t/error-when-importing-backup/6574/13 for some context of how this issue was found.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: