James Server
  1. James Server
  2. JAMES-421

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: James Core
    • Labels:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Stefano Bagnara
            Reporter:
            Stefano Bagnara
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development