Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12471

FileService does not delete files under windows

    XMLWordPrintable

Details

    Description

      The FileService will not successfully delete a file under windows because it leaves a FileInputStream open when trying to delete the file. This should work under linux but will not work under windows. The simple solution is to close the file input stream before we try to delete the file.

      This was found by https://support.atlassian.com/browse/JSP-11222, thanks to Thomas Poersch

      Attachments

        Activity

          People

            tim@atlassian.com TimP
            dylan@atlassian.com Dylan Etkin [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: