Attachments double-uploading in Issue Detail View from Boards

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 7.3.7
    • Affects Version/s: 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.3.1
    • Component/s: None
    • 7.02
    • 14
    • Severity 3 - Minor
    • 99

      Summary

      When attach files to an issue in the Issue Detail View on a Board, file is attached multiple times under some circumstances.

      Environment

      Tested with Chrome Version 53.0.2785.116 (64-bit) on OS X, Firefox 48.0.1 on OS X, as well as reported as occurring with Chrome 53.0.2785.113 on OS X.

      Steps to Reproduce

      1. Install JIRA 7.2.0 or 7.2.1
      2. Create sample Scrum or Kanban Project
      3. Navigate to Board -> Active Sprints or Board -> Kanban Board depending on type
      4. Click on one of the Issues there

      Option 1 - Attach using "Attach Files" and Browse for file

      1. Click "..." -> Attach Files
      2. Attach a file
      3. remove the file you just attached
      4. "..." -> Attach files again, Without refreshing the page

      Option 2 - Drag and Drop

      Drag and drop a file to attach it.

      Expected Results

      Attachment is attached once.

      Actual Results

      Attachment is attached twice (or more).

      Notes

      Reloading page between delete and re-attaching appears to avoid this.

      Problem also appears to occur when pasting screenshot from clipboard in the "Create Issue" screen from clicking "Create" button when performed from the Board page.

      Workaround

      • For users of JIRA 7.3.x
        Download the attached file: jira-dnd-attachment-plugin-4.4.11.jar , go to Administration -> Add-ons -> Manage add-ons, use the option "Upload add-on" and select the downloaded file. This is going to install a patched version of JIRA Drag and Drop Attachment Plugin on your JIRA 7.3.x instance

        1. attachment-dup-test.gif
          2.28 MB
          Tilwin Joy
        2. Jira_Double_Upload.gif
          8.42 MB
          David Pait
        3. Jira_Double_Upload.mov
          7.57 MB
          David Pait
        4. jira-dnd-attachment-plugin-4.4.11.jar
          161 kB
          Tilwin Joy

            Assignee:
            Tilwin Joy (Inactive)
            Reporter:
            Russell Stadler (Inactive)
            Votes:
            34 Vote for this issue
            Watchers:
            54 Start watching this issue

              Created:
              Updated:
              Resolved: