Deleting an attachment does not remove its thumbnail from the filesystem

XMLWordPrintable

    • 6.03
    • 9
    • Severity 3 - Minor
    • 1

      Summary

      When an attachment is removed from an issue, the internal <JIRA_HOME>/data/attachments/ folder does not delete the created thumbnail.

      Steps to Reproduce

      1. Create an issue
      2. Attach an image to it (More > Attach Files or Attach Screenshot)
      3. Delete the attachment (click the trash icon at the thumbnail)

      Expected Results

      All the content from that attachment is removed from <JIRA_HOME>/data/attachments/<ISSUE_KEY> folder

      Actual Results

      The image thumbnail remains in the <JIRA_HOME>/data/attachments/<ISSUE_KEY>/thumb folder

      Workaround

      Manually remove the <JIRA_HOME>/data/attachments/<ISSUE_KEY>/thumb/thumb<XYZ>.png thumbnail file if there is no <XYZ> file at <JIRA_HOME>/data/attachments/<ISSUE_KEY>/ folder.

        1. Screenshot 2021-03-02 at 1.25.23 PM.png
          529 kB
          Devisree Gedda
        2. Screenshot 2021-03-02 at 1.39.56 PM.png
          560 kB
          Devisree Gedda

              Assignee:
              Daniel Rauf
              Reporter:
              Daniel Santos (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: