Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9027

Content-Type tag wrong in emailed reports

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Fixed
    • 17.0.0
    • Reports / Statsd
    • Security Level: Default (Default Security Scheme)
    • None
    • Horizon - August 15th 2018, Horizon - August 22nd 2018

    Description

      setup the early morning report to run and email at 5:00am. I can open the report from the webpage via okular and my iphone renders it correctly. My thunderbird and zimbra mail clients failed to render the pdf. When I looked into it the pdf the following:
      Content-Type: text/plain; name="local_Early-Morning-Report wes.pdf"
      Content-Transfer-Encoding: base64
      Content-Disposition: attachment; filename="local_Early-Morning-Report wes.pdf

      A properly rendered pdf had :
      Content-Type: application/pdf;
      name="SB9719.pdf"
      Content-Transfer-Encoding: base64
      Content-Disposition: attachment;
      filename="SB9719.pdf"

      I'm guessing the "Content-Type" should be app/pdf and not text/pdf for proper rendering in my mail client

      Attachments

        Activity

          People

            cpape Christian Pape
            aasuaasu wes hall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.