Project

General

Profile

Actions

Patch #13646

closed

Fix handling multiple text parts in email

Added by Alex Shulgin almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

When handling emails consisting of multiple text parts interspersed with attachment parts, Redmine would only consider the first text (text/plain or text/html) part and ignore the rest.

Here's a patch against 2.2-stable to fix this, test included.


Files


Related issues

Related to Redmine - Defect #15684: MailHandler : text/plain attachments are added to descriptionClosedJean-Philippe Lang

Actions
Actions #1

Updated by Alex Shulgin almost 11 years ago

Oops, forgot to include the test email fixture.

Actions #2

Updated by Toshi MARUYAMA almost 11 years ago

  • Target version set to 2.3.1
Actions #3

Updated by Toshi MARUYAMA almost 11 years ago

  • Target version changed from 2.3.1 to 2.4.0
Actions #4

Updated by Toshi MARUYAMA almost 11 years ago

  • Target version changed from 2.4.0 to 2.3.1
Actions #5

Updated by Toshi MARUYAMA almost 11 years ago

  • Target version changed from 2.3.1 to 2.4.0
Actions #6

Updated by Jean-Philippe Lang almost 11 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Patch committed in r11834, thanks. I changed the assertion because parts may not be inserted in the expected order.

Actions #7

Updated by Toshi MARUYAMA over 10 years ago

  • Related to Defect #15684: MailHandler : text/plain attachments are added to description added
Actions

Also available in: Atom PDF