Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-421

MailImpls sharing MimeMessages / LinearProcessor not cloning it after a partial match.

    XMLWordPrintableJSON

Details

  • Bug
  • Status: Closed
  • Critical
  • Resolution: Fixed
  • 2.2.0, 2.3.0
  • 2.3.0
  • James Core
  • None

Description

LinearProcessor match a single recipient for a 2 recipient mail.
it run "MailImpl.duplicate". duplicate DOES NOT clone the "MimeMessage".
The following mailet will handle 2 different MailImpl sharing the same MimeMessage.

Attached is the proving test.

Attachments

  1. copyonwriteproxy.patch
    47 kB
    Stefano Bagnara
  2. LinearProcessorTest.java
    8 kB
    Stefano Bagnara
  3. MimeMessageCopyOnWriteProxy.java
    22 kB
    Stefano Bagnara

Activity

People

bago Stefano Bagnara
bago Stefano Bagnara
Votes:
0 Vote for this issue
Watchers:
0 Start watching this issue

Dates

Created:
Updated:
Resolved: