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. copyonwriteproxy.patch
        47 kB
        Stefano Bagnara
      2. LinearProcessorTest.java
        8 kB
        Stefano Bagnara
      3. MimeMessageCopyOnWriteProxy.java
        22 kB
        Stefano Bagnara

        Activity

        Stefano Bagnara created issue -
        Stefano Bagnara made changes -
        Field Original Value New Value
        Attachment LinearProcessorTest.java [ 12312797 ]
        Stefano Bagnara made changes -
        Priority Major [ 3 ] Critical [ 2 ]
        Stefano Bagnara made changes -
        Summary MailImpls sharing MimeMessage's! MailImpls sharing MimeMessages / LinearProcessor not cloning it after a partial match.
        Stefano Bagnara made changes -
        Attachment MimeMessageCopyOnWriteProxy.java [ 12321600 ]
        Stefano Bagnara made changes -
        Attachment copyonwriteproxy.patch [ 12321609 ]
        Stefano Bagnara made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Danny Angus made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12324764 ] Default workflow, editable Closed status [ 12566263 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566263 ] jira [ 12581634 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development