When mentioning recently added attachments through the attachments button, the comment is automatically added as thumbnail

XMLWordPrintable

    • Severity 3 - Minor

      Summary

      When an attachment (not image files) is added to a ticket, when attempting to mention the attachment on the ticket clicking in the 'attachment' button -> selecting the attachment. The attachment is always mentioned with thumbnail even when the file isn't an image, which causes an error (Unable to embed resource: ...) once you add the comment with the attachment mentioned.

      Steps to Reproduce

      1. Open an issue
      2. Add a not image file to the issue
      3. Try to add a comment mentioning the file by click on the attachments button under the comment box and selecting the not image attachment

      Expected Results

      The attachment would be mentioned in the following format since it's an image:

      [^attachment_name.txt]
      

      Actual Results

      The file is automatically mentioned as thumbnail which results in an error when adding the comment as thumbnail since the file isn't an image

      Unable to embed resource: attachment_name.txt of type text/plain
      

      Workaround

      • Manually change the mentioned format in the attachment as below:
        [^attachment_name.txt]
        
      • Once you refresh the page, the mentioned is properly added with the correct format and no longer adds as thumbnail

            Assignee:
            Unassigned
            Reporter:
            Francisco Oselame (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: