You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2005/09/09 02:37:31 UTC

[jira] Updated: (JAMES-421) MailImpls sharing MimeMessage's!

     [ http://issues.apache.org/jira/browse/JAMES-421?page=all ]

Stefano Bagnara updated JAMES-421:
----------------------------------

    Attachment: LinearProcessorTest.java

void setUp() create a new LinearProcessor in a mock environment.
<processor>
<mailet match="RecipientIs=rec1@domain.com" class="MyMailet">
</mailet>
<mailet match="All" class="MyMailet">
</mailet>
<mailet match="All" class="DumpSystemErr">
</mailet>
</processor>
Look at the output and you will see that it doesn't match what we expect.
The test is not finished but looking at System.err you will understand the bug.


> MailImpls sharing MimeMessage's!
> --------------------------------
>
>          Key: JAMES-421
>          URL: http://issues.apache.org/jira/browse/JAMES-421
>      Project: James
>         Type: Bug
>   Components: James Core
>     Versions: 2.3.0, 2.2.0
>     Reporter: Stefano Bagnara
>     Assignee: Stefano Bagnara
>      Fix For: 2.3.0
>  Attachments: LinearProcessorTest.java
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org