Uploaded image for project: 'James Server'
MailImpls sharing MimeMessages / LinearProcessor not cloning it after a partial match.
Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.2.0, 2.3.0
-
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
Attachments
- copyonwriteproxy.patch
- 47 kB
- Stefano Bagnara
- LinearProcessorTest.java
- 8 kB
- Stefano Bagnara
- MimeMessageCopyOnWriteProxy.java
- 22 kB
- Stefano Bagnara