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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: