Empty lines in outlook-email.translations can create empty comments when using <StripQuotes> option in the Incoming mail handler

XMLWordPrintable

    • 9.12
    • 2
    • Severity 3 - Minor
    • 40

      Issue Summary

      The file `outlook-email.translation` contains an empty line at the end:

      ---- Original Message ----
      ----Original Message----
      ----Original Message Follows----
      ---- Original Message Follows ----
      ----Ursprüngliche Nachricht----
      -----Ursprüngliche Nachricht-----
      ---- Ursprüngliche Nachricht ----
      _____
      
      

      This empty line, when using the mail handler "Create a new issue or add a comment to an existing issue" with the <StripQuotes> option enabled, causes Jira to trim all email content and add blank comments to the issues.

      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Use a Jira instance with an empty line in the file outlook-email.translations.
      2. Setup a "Create a new issue or add a comment to an existing issue" mail handler with the option <StripQuotes> enabled.
      3. Respond to a Jira mail notification for an existing issue.

      Expected Results

      A comment with the non-quoted email body gets added to the issue.

      Actual Results

      An empty comments gets added to the issue.

      Workaround

      Manually remove the empty line from the outlook-email.translations file.

            Assignee:
            Jakub Sildatk
            Reporter:
            Conny Postma (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: