[
https://issues.apache.org/jira/browse/MAILBOX-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tellier Benoit updated MAILBOX-205:
-----------------------------------
Attachment: MAILBOX-205.patch
Here is the patch solving the problem :
It simply remplaces the wrong call to copyTo to a call to moveTo.
> Messages get copied instead of moved when moveBatchSize is set in
> StoreMailboxManager
> -------------------------------------------------------------------------------------
>
> Key: MAILBOX-205
> URL: https://issues.apache.org/jira/browse/MAILBOX-205
> Project: James Mailbox
> Issue Type: Bug
> Environment: Any
> Reporter: Tellier Benoit
> Attachments: MAILBOX-205.patch
>
>
> I was working on MAILBOX-146 to add a batch size where needed in the
> StoreMessageManager ( setFlags, deleteMarkedInMailbox, recent, copy, move )
> and I add a look at the code of the StoreMailboxManager.
> I found a call to a method named **copyTo** in an other method named
> **moveMessages**...
> I might have missed something, but I think this might create a bug when
> moveBatchSize is not null....
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]