When a customer replies to a notification email containing an image the same image is included in the reply but cannot be rendered in the old issue view

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      When a customer replies to a notification email containing an image the same image is included in the reply but cannot be rendered in the old issue view.

      Environment

      JEPP Mail handler.

      Steps to Reproduce

      1. As a customer create an issue via email.
      2. As an agent reply to the customer in Jira and include an image
      3. As the customer reply to the email received
      4. As an agent view the issue including the new reply in the old issue view

      Expected Results

      The copy of the original image included in the customers reply should render as expected:

      Actual Results

      The following error is displayed

      Unable to embed resource: noname of type application/octet-stream

      Notes

      It seems the root cause of this is the handling of the mimtype value in the the fileattachments table. Currently due to the copy image in the reply not having a name attributed the mime type is stored in Jira as:

      image/png; name=noname

      It seems the lack of file extension in the name parameter is causing Jira to not treat this as an image therefore it is not being flagged as thumbnailable.
      I have confirmed this by manually changing the value here to contain a file extension and flagging the record as thumbnailable which resolves the problem but is not a practical solution or workaround.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Battlebeard (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: