Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-10489

JIRA does not process multipart/alternative mails properly

    XMLWordPrintable

Details

    Description

      When a JIRA POP/IMAP service encounters a multipart/alternative mail consisting of text/plain and text/html parts, it complains:

      2006-06-26 16:26:38,496 WARN [jira.issue.managers.DefaultAttachmentManager] Creating attachment without a file.  Aborting
      

      In 3.6, if a 'forward email' was specified, JIRA would send an email to this address:

      An error was encountered whilst handling messsages from the mail server "localhost" using the handler "class com.atlassian.jira.service.util.handler.CreateOrCommentHandler".
      > The error was:
      > ------------------------
      > "Exception creating comment null"
      > ------------------------
      > The error and the email that caused the error are attached to this email.
      
      java.io.IOException
      	at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentWithPart(AbstractMessageHandler.java:262)
      	at com.atlassian.jira.service.util.handler.AbstractMessageHandler.handleMultipart(AbstractMessageHandler.java:209)
      	at com.atlassian.jira.service.util.handler.AbstractMessageHandler.createAttachmentsForMessage(AbstractMessageHandler.java:192)
      	at com.atlassian.jira.service.util.handler.AbstractCommentHandler.handleMessage(AbstractCommentHandler.java:90)
      	at com.atlassian.jira.service.util.handler.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:107)
      	at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:184)
      	at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
      	at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
      	at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
      	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
      

      Attachments

        Activity

          People

            jpendleton Justus Pendleton (Inactive)
            7ee5c68a815f Jeff Turner
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: