[ 
https://issues.apache.org/jira/browse/JAMES-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean Helou updated JAMES-3689:
------------------------------
    Description: 
While implementing the pulsar mailqueue we accidentally discovered this bug in 
the  JMSCacheableMailQueue:

The test of the manageable mailqueue contract named

{color:#172b4d}removeByRecipientShouldRemoveSpecificEmailWhenMultipleRecipients{color}

{color:#172b4d}can be made to fail by {color}
 * {color:#172b4d}swapping the order of the recipients in the mail fixture. We 
tried with a few combinations and the remove never works for the first 
recipient.{color}
 * {color:#172b4d}adding a recipient which is similar enough to the targeted 
recipient (for instance removing [b...@example.co|mailto:b...@example.co] and 
having a mail with recipient b...@example.com){color}

  was:
While implementing the pulsar mailqueue we accidentally discovered this bug in 
the  JMSCacheableMailQueue: 

The test of the manageable mailqueue contract named 

{color:#172b4d}removeByRecipientShouldRemoveSpecificEmailWhenMultipleRecipients{color}

{color:#172b4d}can be made to fail by swapping the order of the recipients in 
the mail fixture. We tried with a few combinations and the remove never works 
for the first recipient.{color}

        Summary: JMSCacheableMailQueue remove is buggy  (was: 
JMSCacheableMailQueue remove does not works for the the first recipient)

> JMSCacheableMailQueue remove is buggy
> -------------------------------------
>
>                 Key: JAMES-3689
>                 URL: https://issues.apache.org/jira/browse/JAMES-3689
>             Project: James Server
>          Issue Type: Bug
>            Reporter: Jean Helou
>            Priority: Major
>
> While implementing the pulsar mailqueue we accidentally discovered this bug 
> in the  JMSCacheableMailQueue:
> The test of the manageable mailqueue contract named
> {color:#172b4d}removeByRecipientShouldRemoveSpecificEmailWhenMultipleRecipients{color}
> {color:#172b4d}can be made to fail by {color}
>  * {color:#172b4d}swapping the order of the recipients in the mail fixture. 
> We tried with a few combinations and the remove never works for the first 
> recipient.{color}
>  * {color:#172b4d}adding a recipient which is similar enough to the targeted 
> recipient (for instance removing [b...@example.co|mailto:b...@example.co] and 
> having a mail with recipient b...@example.com){color}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to